crontab只运行第二行
我有/etc/cron.d/remote-server-backup如下所示: ***starts*** MAILTO="[email protected]" 23 1,7,13,19 * * * root /usr/local/bin/backup-server nzs1.automatem.co 43 2,8,14,20 * * * root /usr/local/bin/backup-server nzs2.automatem.co ***ends*** 该脚本是自定义编写的,并使用rsync执行增量备份。 我发现nzs2.automatem.co脚本每6小时运行一次,nzs1.automatem.co脚本永远不会运行。 我没有收到任何电子邮件[email protected]。 当我从命令行nzs1.automatem.co运行时,它会正确执行备份。 我的环境是Ubuntu 12.04 LTS。 我怎样才能让第一行自动运行?