|
|
发表于 2004-12-8 08:57:10
|
显示全部楼层
root : ~ $ crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
root : ~ $ service crond start
Starting crond: [ OK ]
root : ~ $ ps -aux |grep crond
root 6697 0.0 0.1 1596 652 ? S 08:49 0:00 crond
root 6710 0.0 0.1 4928 696 pts/1 S 08:50 0:00 grep crond
root : ~ $ crontab -l
*/1 * * * * mplayer /opt/wine/Disco/aaa.mp3
root : ~ $ ps -aux |grep mplayer
root 6745 1.5 2.3 24908 12096 pts/1 R 08:55 0:00 mplayer /opt/wine/Disco/aaa.mp3
root 6748 0.0 0.1 4928 696 pts/0 S 08:55 0:00 grep mplayer
root : ~ $ killall mplayer
root : ~ $ service crond stop
Stopping crond: [ OK ]
睡觉了,起床后再回你 ! |
|