* Linux Crontab
使用命令
编辑: crontab -e
查看 crontab -l
格式 五颗 * 空格隔开 cmd
* * * * * cmd
分 时 天 月 星期
Demo1:每隔一分钟把当前系统时间追加到bf-date.log
which date
crontab -e
*/1 * * * * /bin/date >> bf-date.log
* Linux Crontab
使用命令
编辑: crontab -e
查看 crontab -l
格式 五颗 * 空格隔开 cmd
* * * * * cmd
分 时 天 月 星期
Demo1:每隔一分钟把当前系统时间追加到bf-date.log
which date
crontab -e
*/1 * * * * /bin/date >> bf-date.log