[CentOS] Scheduling tasks using cron...

Jose Alburquerque

jaalburquerque at cox.net
Mon Jan 9 05:51:01 UTC 2006


Hi all.  Can anyone help me with scheduling tasks?  I'm running 
Centos4.2 (updated via yum starting from 4.0).  I know I have vixie-cron 
and anacron packages installed (came like that, from first install, I 
guess).  I read the crontab syntax man page (man 5 crontab) and I made 
an entry as a normal user (using crontab -e) that looks like the following:

30 0 9 1 1 /bin/ls -F /home/jose > /home/jose/home-listing.txt

when I run the command "/bin/ls -F /home/jose > 
/home/jose/home-listing.txt" it produces a file named "home-listing.txt" 
in my home directory.  However, if I delete the file and wait for the 
cron process to take place, the cron process never takes place at the 
exact time of scheduling.  In fact I don't think it ever takes place 
because the file just does not appear.  Am I doing something wrong?  Can 
someone please help me!  I really need to be able to schedule processes 
at *very* *specific* *times*.  Anyone?  Thank you.



More information about the CentOS mailing list