This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
该行以
0 0 * * 1,2,3,4,5; 开头<命令>。第一个字段是分钟和小时。在这种情况下,该命令将在午夜运行。星星的意思是:每个月的每一天,每个月。 1 到 5 指定日期。周一至周五。 6=星期六 0=星期日。
Begin the line with
0 0 * * 1,2,3,4,5 <user> <command>
. The first fields are minutes and hours. In this case the command will run at midnight. The stars mean: for every day of the month, and for every month. The 1 to 5 specify the days. monday to friday. 6=saturday 0=sunday.试试这个:
Try this:
简单来说,0代表周日和6周六:
To sum it up simples, 0 represents Sunday and 6 Saturday: