LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Cron/Anacron Not Working - Debian Sarge (https://www.linuxquestions.org/questions/debian-26/cron-anacron-not-working-debian-sarge-371657/)

br00tal 10-10-2005 05:03 PM

Cron/Anacron Not Working - Debian Sarge
 
I recently did a fresh install of Sarge on my server box, and I can't get my cron jobs to work anymore. Furthermore, when logging into Webmin and checking the list of existing cron jobs, it says that there aren't any...which is false.

When my box was running FC2, all I had to do to get a script to run daily was to make is executable and to drop it into the cron.daily directory. I did this, but nothing. I also noticed that Anacron was not installed, so I installed it, but it's still not working (have rebooted a few times since then).

Any clues as to what's happening?

Thanks,
Jesse

unSpawn 10-10-2005 06:19 PM

Can you manually verify crond is running ("pgrep -lf crond")?
If you restart it manually, does it keep running?
Anything in the systems logs about cron?

br00tal 10-10-2005 06:41 PM

when I run "pgrep -lf crond" it completes without at output/errors. When I try to run "/etc/init.d/cron restart" I get this:

Restarting periodic command scheduler: cron/etc/init.d/cron: line 18: start-stop-daemon: command not found
/etc/init.d/cron: line 19: start-stop-daemon: command not found

When I ran it with "crond" instead of "cron" just for sh*ts and giggles, it said no file or directory, which was no sock to me.

I haven't seen anything in the syslogs about cron...

THanks,
Jesse


All times are GMT -5. The time now is 07:23 PM.