SQWareProduction:mysql:etc:sqwmys CreInst CrontabRef.cfg : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
 
m (Updated by BatchUser)
 
Ligne 8 : Ligne 8 :
 
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
 
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
 
## <MYSQL_SID>
 
## <MYSQL_SID>
 +
#Purge alert
 +
00 08 * * 0 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A PurgeAlert > $HOME/tmp/PurgeAlert_<MYSQL_SID>.log 2>&1'
 
# 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'
Ligne 17 : Ligne 19 :
 
#00 21 * * 6  ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A XtraFull > $HOME/tmp/XtraFull_<MYSQL_SID>.log 2>&1'
 
#00 21 * * 6  ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A XtraFull > $HOME/tmp/XtraFull_<MYSQL_SID>.log 2>&1'
 
#00 21 * * 1-5 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A XtraInc > $HOME/tmp/XtraInc_<MYSQL_SID>.log 2>&1'
 
#00 21 * * 1-5 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A XtraInc > $HOME/tmp/XtraInc_<MYSQL_SID>.log 2>&1'
 +
# MariaBackup
 +
#00 21 * * 6  ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A MariaFull > $HOME/tmp/MariaFull_<MYSQL_SID>.log 2>&1'
 +
#00 21 * * 1-5 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A MariaInc > $HOME/tmp/MariaInc_<MYSQL_SID>.log 2>&1'
 
</pre>
 
</pre>
 
<br>
 
<br>

Version actuelle datée du 15 décembre 2020 à 21:13

Fichier de configuration $gvsqw_MysBin/../etc/sqwmys_CreInst_CrontabRef.cfg:



Contenu du fichier:

###########################
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
## <MYSQL_SID>
#Purge alert
00 08 * * 0 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A PurgeAlert > $HOME/tmp/PurgeAlert_<MYSQL_SID>.log 2>&1'
# 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'
# XtraBackup
#00 21 * * 6   ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A XtraFull > $HOME/tmp/XtraFull_<MYSQL_SID>.log 2>&1'
#00 21 * * 1-5 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A XtraInc > $HOME/tmp/XtraInc_<MYSQL_SID>.log 2>&1'
# MariaBackup
#00 21 * * 6   ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A MariaFull > $HOME/tmp/MariaFull_<MYSQL_SID>.log 2>&1'
#00 21 * * 1-5 ksh -c '. $HOME/.profile <MYSQL_SID>;$gvsqw_MysBin/sqwmys_RunJob.ksh -I <MYSQL_SID> -A MariaInc > $HOME/tmp/MariaInc_<MYSQL_SID>.log 2>&1'