[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Crontab doesn't run



Jan(jan@tofuwurst.org) is reported to have said:
> Hi!
> 
> I've just installed a system with Debian Etch 4.0 and the crontabs which are edited by users will not be executed.
> 
> The cronjobs added by the root user, "crontab -e" will are executed as expected. Jobs added by a regular user, also using "crontab -e" are not executed. For testing puposes I just added a simple:
> 
> 0-59 * * * * /bin/date >> /home/jan/date.txt
> 
> And for some reason it doesn't run. When I save the crontab I get the message "crontab: installing new crontab".
> 
> I also tried it by adding a username:
> 
> 0-59 * * * * jan /bin/date >> /home/jan/date.txt
> 
> But it also fails and doesn't run.
> 

ISTR that when using the 'crontab -e' you do not put the use name in
the script.  ie

0-59 * * * * /bin/date >> /home/jan/date.txt

Yep.. verified here.

W

-- 
Windows is NOT a virus. Viruses DO something.
_______________________________________________________



Reply to: