[i=s] ±¾Ìû×îºóÓÉ hyf320481 ÓÚ 2010-11-2 20:56 ±à¼ [/i]
°´²½ÖèÎÒ×öµÄÓ¦¸Ãû´íѽ¡£¡£ÎªÊ²Ã´ÀÏÊDz»ÄÜÔËÐÐ
crontab -e
13 14 * * * /bin/date
2µã13·ÖÔËÐÐdateÃüÁî¡£
È»ºóÎÒÖ´ÐÐÁËservice crond restart
È»ºó¾ÍûÏÂÎÄÁË¡£ÎÒ¿´ÁËÒ»ÏÂ/usr/bin/crontab ÒѾÓÐÁËs¼¶µÄȨÏÞ¡£
[root@localhost ubuntu]# /sbin/chkconfig --list crond
crond 0:¹Ø±Õ 1:¹Ø±Õ 2:ÆôÓà 3:ÆôÓà 4:ÆôÓà 5:ÆôÓà 6:¹Ø±Õ
[root@localhost ubuntu]# ps aux | grep crond
root 5017 0.0 0.7 5536 1204 ? Ss 14:36 0:00 crond
root 5058 0.0 0.4 4164 684 pts/1 R+ 14:54 0:00 grep crond
[root@localhost ubuntu]#
huazlianji ÓÚ 2013-05-21 16:43:55·¢±í:
¸Ð¼¤²»¾¡