Ask a Question related to Linux / Unix Administration, Design and Development.
-
Chris Coyle #1
Cron question
We have an odd problem where a cron job
sometimes doesnt run.
Its on a daily schedule, and it creates a log file
so we know exactly when it does or doesnt run.
Usually it runs fine.
Just occasionally, maybe a couple times per month,
it doesnt run, and I dont know why.
I have an idea (forgive me if this sounds stupid)
that maybe sometimes the system is so busy running
other high-priority tasks that it misses the
scheduled start-time for our job.
Is that possible, and if so, how would one test
for that?
Chris Coyle Guest
-
MX 7.0 Cron service
Is there a way to disable the cron service under MX 7.0? -
cron job
If the cron job run every 15 minute, it will fill up mail box. Does anyone has any idea. Thanks "Davide Bianchi" <davideyeahsure@onlyforfun.net>... -
rsh and cron
I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until recently I foud the rsh does not work on the Ultra 60. But I don't have any... -
cron
Not specific to PHP really, but it all started with a simple PHP script I was automating... I've used cron/crontab on a zillion machines, and it... -
Cron Job Question
I have a question about the use of cron job. I understand that it executes a process at a certain schedule, but is there a way to execute a process... -
Davide Bianchi #2
Re: Cron question
Chris Coyle <chrisco@bud.sprint.ca> wrote:
Cron job doesn't (usually) start on-time. The fact that you> other high-priority tasks that it misses the
> scheduled start-time for our job.
schedule it for 2.00 am means only that it will start _around_ 2.00 am.
Most of the time the difference is minimal and the fact that is 2.00 or
2.00 3" isn't noticed. So, no. It's not that your system is too busy.
I'd start checking other possibilities. Like the clock being reset, the
machine hitting a snag or something...
Davide
--
| A year spent in artificial intelligence is enough to make one believe
| in God.
|
|
Davide Bianchi Guest
-
Doug Freyburger #3
Re: Cron question
Chris Coyle wrote:
Is there any chance it's only once per year when daylight>
> We have an odd problem where a cron job
> sometimes doesnt run.
> Its on a daily schedule, and it creates a log file
> so we know exactly when it does or doesnt run.
> Usually it runs fine.
> Just occasionally, maybe a couple times per month,
> it doesnt run, and I dont know why.
savings time happens?
Also check that cron is still running. Every so often> I have an idea (forgive me if this sounds stupid)
> that maybe sometimes the system is so busy running
> other high-priority tasks that it misses the
> scheduled start-time for our job.
> Is that possible, and if so, how would one test
> for that?
it crashes and needs to be restarted. Less likely each
year but worth checking.
Make sure the permissions are right, the filesystem
is not full, the script doesn't exit with some error
before it creates the log.
Look in the cron logs. You don't mention your version
so I don't know where they are. Maybe /var/cron. You
may need to create the direct and/or add a switch to
the daemon to get it to log what it runs.
Doug Freyburger Guest



Reply With Quote

