2011-10-25 52 views

回答

19

运行,因此从man 5 crontab

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) 

或者,换句话说

# m h dom mon dow user   command 
15,45 * * * * yourusername wget -O /dev/null http://somesite.com/4_leads.php 

如果你把在用户特定的crontab项跳过username字段,通过crontab -ecrontab -e -u yourusername,或类似的。

此问题可能更适合于serverfault

+3

感谢您指出该信息在哪个手册页上! – Will

相关问题