Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email 



USER RELATED CRON JOBS


If you want to set up some tasks yourself ( as user ) to run every so many hours/days, here is how to do that:

Make a text file and let's say we call it "test-cron". In the file we will put the following lines:

QUOTE  (Text @ Script)
0 * * * * play /home/bruno/Sound/Hour.wav
30 * * * * play /home/bruno/Sound/HalfHour.wav

( Sure you need those sound files in the places indicated above ) See this link for the time settings: Cron Jobs

Then give the command:
 
CODE
$ crontab test-cron

And from then on, every hour the "Hour.wav" will play and every half hour the "HalfHour.wav" will . . just like grandma's clock
( Your personal cron-settings are then saved in /var/spool/cron/bruno )


Sure you can do this as root as well so it will run independently from whichever user is logged in at that moment


Bruno


-- May 12 2004 ( Revised Dec 12 2005 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email