Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-25-2005, 08:13 AM   #1
LQ Newbie
Registered: Aug 2005
Location: Iceland
Posts: 1

Rep: Reputation: 0
cron job suddenly stopped working

Hi all

I have been running several nightly cron jobs for a long time and one for database updating. And like with all cron jobs, I've always received an e-mail when it was finished, giving me the whole output. A few days ago however, I stopped getting the e-mail for this particular job. And it turned out that even though there was an entry in /var/log/cron for this job, it wasn't being run! It is a part of the /etc/cron.daily scripts and is scheduled to run at 00:02 every day. The crontab line in question looks like this:

02 0 * * * root run-parts /etc/cron.daily

and in cron.daily, the file in question contains these lines:

su - oracle -c 'sqlplus xxx/xxx@orcl @/scripts/refresh.sql'
su - oracle -c 'sqlplus xxx/xxx@orcl @/scripts/refresh_indices.sql'

When I run this manually, everything works fine. But now when cron runs it, nothing seems to be happening except that it writes this line in the /var/log/cron log:

Aug 25 00:02:00 web CROND[25826]: (root) CMD (run-parts /etc/cron.daily

The last file in alphabetical order in /etc/cron.daily is tripwire-check. That one seems to work just fine, sending me an e-mail with the results.

I'm using Read Hat 7.2 and the cron packages installed are:


This has always worked just fine until a few days ago. Hope someone out there knows what's going on!

Best regards,
Old 08-25-2005, 01:03 PM   #2
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Centos,Debian,Slax , Solaris
Posts: 95

Rep: Reputation: 15
Good afternoon

Please , Check whether your sendmail service in ON , Also check if the /var filesystem is full .



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
Sound has stopped working suddenly mrmuckle Linux - General 2 10-15-2005 02:57 PM
Internet suddenly stopped working. figster Linux - Newbie 2 08-29-2005 06:18 PM
yum suddenly stopped working DJOtaku Fedora 3 05-01-2005 12:38 PM
Azureus suddenly stopped working!! Braveheart1980 Linux - Software 1 02-19-2005 07:22 PM
airsnort suddenly stopped working fatrandy13 Linux - Security 1 09-23-2004 09:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 AM.

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