这是我在 Debian Jessie 上所做的:
apt-get install cron
backup_crontab
文件/etc/cron.d/
但是,任务永远不会运行。
以下是一些输出:
/# crontab -l
no crontab for root
/# cd /etc/cron.d && ls
backup_crontab
/etc/cron.d# cat backup_crontab
0,15,30,45 * * * * /backup.sh >/dev/null 2>&1
Run Code Online (Sandbox Code Playgroud)
是否可以激活特定的 crontab 或激活 cron“服务”本身?