LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-29-2007, 04:30 PM   #1
joshv
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Rep: Reputation: 0
FC6 cron not working - won't run any jobs


I have used cron in the past but this one has got me licked. Does cron work on FC6? I have two different boxes that are pretty much vanilla installs and they both exhibit the same behaviour, cron doesn't work and I can't really determine if it is even there.

Here is the scoop, I am just trying to run a simple test job now, all of the following as root:

ran:

crontab -e

added the line:

* * * * * echo "1 " >> /tmp/test.log

which I thought would add "1 " to a temp file every minute. Except nothing happens at all from the cron job. If I run the line from a shell, it works fine.

so I did some poking around.

[root@MASKED~]# chkconfig --list | grep cron
anacron 0ff 1ff 2n 3n 4n 5n 6ff

strange....no cron?

[root@MASKED tmp]# service crond restart
Stopping crond: cannot stop crond: crond is not running. [FAILED]
Starting crond: /bin/bash: crond: command not found FAILED]

Again.... where did cron go?

[root@sstrsr001 tmp]# whereis cron
cron: /etc/cron.d /etc/cron.weekly /etc/cron.hourly /etc/cron.daily /etc/cron.monthly

Okay...looks like something is there. crontab certainly works.


find / -name cron*

results:
/var/spool/cron
/var/spool/anacron/cron.monthly
/var/spool/anacron/cron.weekly
/var/spool/anacron/cron.daily
/var/log/cron
/usr/libexec/webmin/mscstyle3/cron
/usr/libexec/webmin/cluster-cron/cron.pl
/usr/libexec/webmin/caldera/cron
/usr/libexec/webmin/cron
/usr/libexec/webmin/cron/cron_editor.pl
/usr/libexec/webmin/cron/cron-lib.pl
/usr/share/man/man1p/crontab.1p.gz
/usr/share/vim/vim70/syntax/crontab.vim
/usr/share/logwatch/default.conf/services/cron.conf
/usr/share/logwatch/default.conf/logfiles/cron.conf
/usr/share/logwatch/scripts/services/cron
/usr/share/logwatch/scripts/logfiles/cron
/usr/bin/crontab
/etc/cron.monthly
/etc/sysconfig/crond
/etc/cron.weekly
/etc/rc.d/init.d/crond
/etc/cron.hourly
/etc/webmin/cron
/etc/cron.d
/etc/pam.d/crond
/etc/crontab
/etc/cron.daily
/selinux/booleans/crond_disable_trans

Is it me, or is cron gone? I mean what am I doing wrong here?

Any help is appreciated. TIA!
 
Old 04-29-2007, 07:20 PM   #2
joshv
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Found a solution, if not the answer on fedoraforum.org.

Seems you have to install the vixie-cron package. Not sure why crond is not installed by default anymore...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
X apps fail when run from cron jobs ericcarlson Linux - Software 6 06-16-2017 02:02 PM
How to run jobs in /etc/cron.daily? Micro420 Linux - Newbie 4 10-19-2006 03:07 PM
simple "echo > qbc" cron jobs doesn't run shole Linux - Newbie 3 09-23-2006 03:09 PM
Can't run cron jobs as user, only root Kropotkin Linux - Newbie 5 11-10-2004 10:30 AM
Cron jobs, will they run when not logged in? nextekcarl Linux - General 18 03-30-2004 11:28 AM

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

All times are GMT -5. The time now is 09:58 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