Mic*_*hel 86
开始行0 0 * * 1,2,3,4,5 <user> <command>.第一个字段是分钟和小时.在这种情况下,命令将在午夜运行.星星意味着:每个月的每一天,以及每个月.1到5指定日期.星期一到星期五.6 =周六0 =周日.
Sie*_*geX 21
试试这个:
# run every two hours at the top of the hour Monday through Friday
0 */2 * * mon-fri <command>
Run Code Online (Sandbox Code Playgroud)