LinHES Forums
http://forum.linhes.org/

cron job doesn't work! [SOLVED]
http://forum.linhes.org/viewtopic.php?f=5&t=7170
Page 1 of 1

Author:  zetoune [ Thu Dec 01, 2005 10:41 pm ]
Post subject:  cron job doesn't work! [SOLVED]

How can I make it work?
I added a cron job through webmin but the command is not run.

Execute cron job as: root
command: reboot
input to command: (I left it empty).
When to execute, I tried 3 minutes after creation or edit to test it.

it doesn't reboot.

I tried scheduled commands and it worked.

So what do I do wrong?

Author:  tjc [ Thu Dec 01, 2005 10:47 pm ]
Post subject: 

Use the full path to the command: /sbin/reboot

Author:  zetoune [ Thu Dec 01, 2005 11:03 pm ]
Post subject: 

tjc. You're the man!
I didn't think to write the whole path because it worked in scheduled command as is.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/