Difference between revisions of "SQWareProduction:mysql:etc:sqwmys CreInst CrontabRef.cfg"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
 
m (Updated by BatchUser)
Line 5: Line 5:
 
File content:
 
File content:
 
<pre>
 
<pre>
 
+
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
 
# Dump
 
# Dump
 
00 20 * * * ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A Dump > $HOME/tmp/Dump_<MYSQL_SID>.log 2>&1'
 
00 20 * * * ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A Dump > $HOME/tmp/Dump_<MYSQL_SID>.log 2>&1'

Revision as of 11:54, 23 January 2012

Configuration file $gvsqw_MysBin/../etc/sqwmys_CreInst_CrontabRef.cfg:



File content:

## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
# Dump
00 20 * * * ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A Dump > $HOME/tmp/Dump_<MYSQL_SID>.log 2>&1'
# Optimize
00 04 * * 6 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A Optimize > $HOME/tmp/Optimize_<MYSQL_SID>.log 2>&1'
# Analyze
00 05 * * 6 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A Analyze > $HOME/tmp/Analyze_<MYSQL_SID>.log 2>&1'