Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Cron Explosion! Please help!

Cron Explosion! Please help!
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 5, 2003, 03:49 AM
 
Hi,
I have a 266 iMac running OS 10.2.8. Up until December 1st everything was great. I have a Cron job run a script every morning at 8 AM. The lines in my cron file are:

0 8 * * * * ./script.pl

So, until Dec 1st, everything was great.
Then, on the 2nd, and 3rd, the script did not run. This script emails me depending on its outcome, so I didn't realize that the script was not working. When it was finally realized on the 4th that it wasn't working, I ran it manually, and that was fine. But, now, even though the cron file is unchanged, it runs at 3 AM. I've checked the Time zone, date, time, everything, they're all correct. What is going on?

Thanks,
gabe
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Dec 5, 2003, 08:59 AM
 
Is cron running?

Code:
[arkham@MetalGear /etc] ps -auxww | grep cron root 156 0.0 0.0 27612 104 ?? Ss 21Nov03 0:01.28 cron
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Zimwy  (op)
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 5, 2003, 04:07 PM
 
Code:
15 [Berodachbaladan@/] % ps -auxww | grep cron root 362 0.0 0.1 14124 92 ?? Ss 24Nov03 0:07.93 cron
It's running. I've checked, and I have enough free space on the disk. (~20 gbs) so that's not the problem. And it IS running the script, just 5 hours off...

gabe
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2