我如何在每0.25小时运行的Linux上创build一个cron作业?
以及rslite的
0,15,30,45 * * * * command-to-be-executed
这应该适用于大多数版本的cron
*/15 * * * * command-to-be-executed
将其添加到crontab文件中:
0,15,30,45 * * * * command-to-be-executed
*/15 * * * * some-command
14,29,44,59 * * * * full-path-of-command-to-execute with argument
只是为了避免在XX时间赶
🙂
设置分钟为0,15,30,45或从其他分钟开始。