2013-04-27 19 views

回答

2

crontab格式是:分,小時,月,月,星期幾,命令。

因此,這將在每天上午11:56運行/usr/sbin/update-file.sh

+0

AM ..你提到了AM。保存了我的參賽作品。謝謝。 – Doublespeed 2013-04-27 03:02:51

+2

@ user2081579:不要忘記'cron'使用24小時制; 11:56 PM會是'56 23 * * * ...' – 2013-04-27 04:00:59

4

crontab(5)

field   allowed values 
-----   -------------- 
minute  0-59 
hour   0-23 
day of month 1-31 
month   1-12 (or names, see below) 
day of week 0-7 (0 or 7 is Sun, or use names) 

因此,你行表示在每天上午11:56運行/usr/sbin/update-file.sh