On Fri, Aug 28, 2009 at 5:03 PM, 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 > > is apache2ctl part of cron commands? why are u adding commands like cd in cron? put every thing in a shell script say planet.sh. put the path or what ever. then add the cron job 0,5,10,15,40,41,50,51,52,57 * * * * /home/ilugc/planet/planet.sh what do you think abt this? - balachandar muruganantham உலகம்.net - இலவச தமிழ் வலைப்பதிவுச் சேவை - http://ulagam.net எனது தமிழ் பக்கங்கள் - http://www.balachandar.net/pakkangal Beyond Work - http://beyondwork.wordpress.com/ "இழிவறிந்து உண்பான்கண் இன்பம்போல் நிற்கும் கழிபேர் இரையான்கண் நோய். " - குறள் எண் : 946
_______________________________________________ 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
