Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
paip
/
script
/
util
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//paip/script/util/init_crontab.sh
# daily rotating log file { crontab -l & echo '2 0 * * * /gate/script/weight/clean_log.sh'; } | crontab - # clean log mtime : 15 { crontab -l & echo '15 0 * * * (. ~/.bash_profile;find /gate/script/weight/ -name "log_chicken_rest_api.log.*" -mtime +15 -exec rm -rf {} \;'; } | crontab - # tbl_weight_stats update script. { crontab -l & echo '1 1-23/2 * * * (. ~/.bash_profile;cd /gate/script/util/; /usr/local/bin/python3.9 /gate/script/util/weightUpdator.py)'; } | crontab - # farm live check script { crontab -l & echo '1 1-23/2 * * * (. ~/.bash_profile;cd /gate/script/util/; /usr/local/bin/python3.9 /gate/script/util/farmLiveChecker.py)'; } | crontab -