使用cron,如果我想每隔5分钟运行一次命令,它将是:
*/5 * * * * command
Run Code Online (Sandbox Code Playgroud)
但是,如果我想专门设置一个会议记录列表怎么办?
就像过去5点,过去18分钟和每小时15分钟?我在猜这个:
5,18,45 * * * *
Run Code Online (Sandbox Code Playgroud)
Ove*_*erv 33
是的,您指定的解决方案是正确的.
0,5,55 * * * * command # run the command at the top of the hour, at
# the 5 minute mark and at the 55 minute mark.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
8615 次 |
最近记录: |