Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-04-2010, 01:54 AM   #1
LQ Newbie
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Cron not working / updating Opensuse 11.0

I am new to Linux and have done an install of Moodle 1.9.8 on Linux OpenSuse 11.0

I have created my cron via the terminal (crontab -e) root crontab - see below

*/5 * * * * http/moodle/moodle/admin/cron.php

I have run the followings scripts as well:

# ls -lut /etc/init.d/cron
-rwxróró1 root root 4363 Apr 29 10:29 /etc/init.d/cron

# ps -el | grep cron
1 S 0 5220 1 0 80 0 - -- 3652 - ? 00:00:00 cron

# ls -lut /etc/crontab
-rw-róról root root 326 Apr 29 10:29 /etc/crontab

# chkconfig --list | grep cron
cron 0-off 1-off 2-on 3-on 4-off 5-on 6-off

When going to /var/log/messages my cron entries appear as they should but my backup does not run and every morning when I go to the Notifications tab it tells me my crom maintenance script has not run in 24hours.

I would also like to get this in a log file and emailed to me.

Any assistance is welcome
Old 05-05-2010, 07:43 PM   #2
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 72

Rep: Reputation: 18
have you tried webmin?

Try installing Webmin, then use webmin to configure the crontab table. Compare webmin's output with your hand-created table to see what's different. This might help you to determine the problem. Also, it is possible to restrict cron to only run for specific users. If this is the case on your system you have 2 options. 1. Enable cron for your username 2. put your crontab entries in the root crontab. Either way your crontab entries should work.

Allowing a program like webmin ( to create a system configuration for you and then tweaking the created table is a great way to learn. Webmin is a very small web server that runs on your system through your web browser (http://localhost:10000) If you are running a system that restricts root access (like Ubuntu) you will need to use a non-privileged user with root access via sudo to login to webmin, otherwise login with root and the root password to add your user name to the user table. Webmin's creator is very helpful to new users answering help requests quickly and correctly.
Old 05-05-2010, 09:40 PM   #3
Senior Member
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Have you tried to restart crond daemon.

service crond restart


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
Updating opensuse 10.2 tgerbert SUSE / openSUSE 8 03-31-2009 12:21 AM
No sound after much updating opensuse 10.3 Riznordin Linux - Newbie 2 12-28-2007 01:19 AM
cron.daily, cron.weekly not working mwhite74 Linux - Server 2 06-07-2007 10:51 AM
updating Q - from openSuSE 10.0 to 10.2 cbjhawks SUSE / openSUSE 5 01-26-2007 07:16 PM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 02:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 PM.

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