> Message: 9 > Date: Fri, 28 Aug 2009 17:03:38 +0530 > From: Kenneth Gonsalves <[email protected]> > Subject: Re: [Ilugc] why is my cron not working > To: "ILUG-C" <[email protected]> > Message-ID: <[email protected]> > Content-Type: Text/Plain; charset="utf-8" > > 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
I wouldn't agree. If you want to enable the path, you can set it at /etc/crontab and things should run fine else you can use the absolute path and it wouldn't complain. It just wants us to work hard! > -- > regards > kg > http://lawgon.livejournal.com -- Cheers Thejaswi Puthraya http://thejaswi.info/ _______________________________________________ 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
