Unix Technical Forum

cron job occasionally does not run

This is a discussion on cron job occasionally does not run within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I have a Solaris 8 system that runs daily cron jobs. Very infrequently a job is not run. It ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:44 PM
Ken Taylor
 
Posts: n/a
Default cron job occasionally does not run

I have a Solaris 8 system that runs daily cron jobs. Very infrequently a job is not run. It will run every day as it should for months. Then one day a job will simply not be run.

I have logging enabled in /etc/default/cron. The log, /var/cron/log contains entries for successful invocations of cron jobs but no record of jobs that are not run.

I am at a loss as to how to investigate this further. Any ideas would be appreciated.

Best regards,

Ken Taylor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:45 PM
Beardy
 
Posts: n/a
Default Re: cron job occasionally does not run

Ken Taylor wrote:
> I have a Solaris 8 system that runs daily cron jobs. Very infrequently a
> job is not run. It will run every day as it should for months. Then one
> day a job will simply not be run.
>
> I have logging enabled in /etc/default/cron. The log, /var/cron/log
> contains entries for successful invocations of cron jobs but no record
> of jobs that are not run.
>
> I am at a loss as to how to investigate this further. Any ideas would be
> appreciated.
>
> Best regards,
>
> Ken Taylor


Put a truss around the job, and get it to write to an output file. Check
the file after a success and a filure. That should lead you somewhere.

(And careful - post flat text only here - HTML posts only annoy
text-based news reader users ;-) )

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:46 PM
Ken Taylor
 
Posts: n/a
Default Re: cron job occasionally does not run

"Beardy" <beardy@beardy.net> wrote in message
news:<HBjub.9762$lm1.68959@wards.force9.net>...
>
> Put a truss around the job, and get it to write to an output file. Check
> the file after a success and a filure. That should lead you somewhere.
>
> (And careful - post flat text only here - HTML posts only annoy
> text-based news reader users ;-) )
>

Done. We will see what happens.

(Thanks for alerting me that I was posting HTML; I was not being
intentionally dis-qwerty-ous


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:48 PM
Beardy
 
Posts: n/a
Default Re: cron job occasionally does not run

Ken Taylor wrote:

> (Thanks for alerting me that I was posting HTML; I was not being
> intentionally dis-qwerty-ous
>


:-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:50 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com