Sorry for top posting...
If you need to run a cron job every 5 mins, use this cleaner version: */5 * * * * foo.sh You can also specify ranges, eg 1-4. Man pages have more options. Btw, cron is NOT brain dead! Raja On 28/08/2009, Kenneth Gonsalves <[email protected]> wrote: > On Friday 28 Aug 2009 4:45:16 pm Kenneth Gonsalves wrote: >> > For cron normally error message will be directed to mail. Look at root's >> > mail. >> >> now I am getting mail to root: '/bin/sh: planet.py: command not found' > > solved in both boxes. For apachectl: > > cd /usr/sbin; ./apache2ctl restart > > and for planet > > 0,5,10,15,40,41,50,51,52,57 * * * * cd /home/ilugc/planet/; ./planet.py > examples/fancy/config.ini >> ./planet.log; > > apparently cron is totally brain dead and needs to be spoonfed > -- > regards > kg > http://lawgon.livejournal.com > _______________________________________________ > To unsubscribe, email [email protected] with > "unsubscribe <password> <address>" > in the subject or body of the message. > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > -- - Raja _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
