#author("2024-08-10T06:45:24+00:00","default:yoya","yoya")
- crontab -r とやってしまった時の対処法
-- http://blog.cles.jp/item/3303
- /etc/cron.d/以下にドットを含むファイルを配置しても無視される
-- http://shibayu36.hatenablog.com/entry/2014/04/25/161506
- CronTool
-- https://tool.crontap.com/cronjob-debugger
- Linux / UNIX Change Crontab Email Settings ( MAILTO )
-- https://www.cyberciti.biz/faq/linux-unix-crontab-change-mailto-settings/
MAILTO="vivek@nixcraft.in"
@midnight /root/scripts/backup-servers
10 20 * * sun /bin/php-cli /wwwroot/apps/cleanup.php
#
# We can switch email alert too
#
MAILTO="sysadmin.it@domain-name-here"
@daily /root/scripts/push-backup-host.sh
MAILTO="storage.admin@domain-name-here"
* 10 * * * /root/scripts/check-hardware-raid-array-health.pl
#
# Disable email alert for rest of jobs
#
MAILTO=""
5 0 * * * /scripts/bin/daily.sh >> /tmp/daily.shoutput.txt 2>&1