LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-10-2005, 05:03 PM   #1
br00tal
Member
 
Registered: Apr 2005
Distribution: Slackware 11.0-12.1
Posts: 56

Rep: Reputation: 15
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
 
Old 10-10-2005, 06:19 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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?
 
Old 10-10-2005, 06:41 PM   #3
br00tal
Member
 
Registered: Apr 2005
Distribution: Slackware 11.0-12.1
Posts: 56

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get ACPI working for debian sarge linuxmandrake Linux - General 14 01-26-2008 12:29 PM
scheduling monthly job in cron from debian sarge 3.1 sridhar11 Debian 2 10-28-2005 09:03 AM
pam_mount prevents cron from working (Debian sarge) pohl886 Debian 2 09-23-2005 03:02 PM
Sound not working (Debian Sarge) rsrsharma Linux - Hardware 9 08-03-2004 08:50 PM
cron / anacron / fcron Will Linux - General 3 11-09-2001 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration