Hi all,
On Fri, 2009-08-28 at 19:30 +0530, balachandar muruganantham wrote:
> 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
> >
> >
When cron executes the command the user need not be logged into the box,
so his/her profile might not have been exported. Better to give absolute
path when writing commands inside cron

Thanks
baskar

_______________________________________________
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

Reply via email to