--- On Fri, 28/8/09, Kenneth Gonsalves <[email protected]> wrote:
> >
> > > that does not work either - I recall reading
> somewhere that lenny by
> > > default does not permit root jobs to run as cron
> >
> > Did you put this entry for ilugc user? ie., by
> 'crontab -e' or by
> > editing file in '/etc/cron.d' folder.
> >
> > I have crons run by planet user in one of debian lenny
> boxes just
> > fine. Also please check the permissions of planet.py
> file. You can see
> > cron runs in /var/log/syslog
> 
> I did it as root - it just does not run. In another lenny
> box I have:
> 
> 0 * * * * /usr/sbin/apache2ctl restart
> 
> this also doesnt run - no log message, no error message

0 * * * * cal >/tmp/dump 

works for me in lenny

For cron normally error message will be directed to mail. Look at root's mail.

It may be better to put error redirection as well like
0 * *  * * /home/perl/perlisthebest.pl 1>/tmp/output 2>/tmp/errors

to get better output.

Other thinks to look at

a.Environment variables normally available on login will not available
b.executable permission on the script

Raman.P
blog:http://ramanchennai.wordpress.com/



      See the Web&#39;s breaking stories, chosen by people like you. Check out 
Yahoo! Buzz. http://in.buzz.yahoo.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

Reply via email to