> Hi all
>      I would like to add cron on bering RC3. I add my task in /etc/cron.d/multicron. 
>I found that it doesn't work why. This is my multicron file.
> 
> ####################################################################
> #Periodic schedule for multicron. (Ping check, Space check, etc)
> #Default: Every 15 minutes
> */15    * * * * root    /etc/multicron-p
> */10    * * * * root    my_script
> ####################################################################
> 
>      Please tell me why it doesn't work. Thanx you very much.
1. do you have an empty line after  the my_script  line 
otherwise the last command will not be executed =

2. is "my_script" in the path for root.  in other words can you issue 
my_script  from any directory as root. 
  is it executable ?

if in doubt change my_script to  
*/10 * * * *  root         /this/isthe/fullpath_to/my_script

.....................................
check your /var/log/syslog for enries if you script is executed

regards
Eric 
member of the Bering Crew




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to