Cronjob not started??!!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Cronjob not started??!!
# 1  
Old 03-09-2009
Cronjob not started??!!

Hi Guys,,

I have cron entry at yesterday at 3 am. That particular script did not ran. (am saying this as i checked the log files for the script). The script after this at 4 30 pm and 6 00 pm ran successfully. When i scheduled the same script for today it ran successfully ( i did not made any changes whatsoever except the time and day entry of the cron).

Now i also checked the server was up and running for the past 160 days. Can anybody explain how this could have happened. I just want to prevent this event in happening again.

Thanks for ur help in advance,

Magesh.
# 2  
Old 03-09-2009
# 3  
Old 03-09-2009
I don't know where you are physically, but here in most of the US, we switched to daylight savings time yesterday morning and moved the clocks ahead an hour. If you were running on a server here, it could have jumped and missed the 3am trigger.
# 4  
Old 03-10-2009
thanx prismtx,

I think tat cud b a possible reasoning.. my server is located in US only. But i think u must have moved the clock by an hour. this should have happened at 12 am (am just guessing). Then how the job could have missed the 3 am trigger.

Please correct me if i am wrong.

Thanks for ur help,
Magesh
# 5  
Old 03-10-2009
Try checking the logs in /var/cron if you find any issues there.
# 6  
Old 03-10-2009
From Wikipedia:
Quote:
[...] and in 2009 it [DST] began at 02:00 on Sunday, March 8.
It could be that your server switched time at 2:01 to 3:01, thus missing the 3:00 cronjob. Yet another reason to keep your servers at UTC...
# 7  
Old 03-10-2009
I tried to look into that folder earlier.. but it seems i did not have the previlages..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to get started with Unix

I'm new in UNIX learning. Can you please guide me. How to get start and then step by step things in Unix. (I know all basic commands) (5 Replies)
Discussion started by: Varsha katre
5 Replies

2. UNIX for Dummies Questions & Answers

how to cancel a cronjob if the cronjob still running

hi everyone I'm newbie in this forum hope I can get some help here :) I have a command in crontab that executed every 1 minute sometime this command need more than 1 minute to finish the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies

3. UNIX for Dummies Questions & Answers

Getting Started

Hello guys and dolls, first post happening here... Wanting to know where to start with Unix. Which Unix option/package is best for an absolute beginner and has a well documented, easy to grasp user guide(s). I have dabbled in some programming (basic PHP) and I have an old desktop pc which I... (6 Replies)
Discussion started by: TheUltimateNoob
6 Replies

4. UNIX for Dummies Questions & Answers

getting started

hi world, I am trying to learn how to program in c, I've gotten a few books and have been reading them, one even came with bloodshed dev-c compiler, it is not working, every time I build the hello world program it always comes back saying " G__~1.EXE: installation problem, cannot exec `cpp': No... (1 Reply)
Discussion started by: jsayres
1 Replies

5. OS X (Apple)

I'm new and I am trying to get started with OS-X

I bought my first Mac a year ago December, and I love it. I have been interested in trying to write my own programs and don't even know where to start. I have never written any software before and was wondering if anyone could give me some recommendations on any books or other good websites that... (2 Replies)
Discussion started by: LittleWoman815
2 Replies

6. UNIX for Dummies Questions & Answers

Help getting started!!!!

Hi im a 15 year old, interested in beggining things like this...my main inpiration came from this article...How To Become A Hacker according to this my first language shouold be python...but i have ABSOLUTELY NO CLUE about where to dowload/learn it...is there anything else i should do along... (1 Reply)
Discussion started by: SonOfSparta
1 Replies

7. UNIX for Dummies Questions & Answers

Help getting started

Dear all, I just found out that my company is thinking of installing a unix server and is considering either sun or ibm. The thing is that i want to learn these two systems before they take a decision and maybe it will be a big career booster. The problem is that i don't know anything about... (7 Replies)
Discussion started by: patslaiby
7 Replies

8. UNIX for Dummies Questions & Answers

newbie wants to get started

HI, I am trying to learn UNIX, taking some online courses at work on UNIX fundamentals. My goal is to take a few classes and then hopefully setup something on a PC at home to practice with some form of UNIX. Anyone have any suggestions on good starting places as far as literature, or... (3 Replies)
Discussion started by: roma33
3 Replies

9. UNIX for Dummies Questions & Answers

How can I get started.

I am new to all this UNIX thing and have a system with the following specs: Pentium 1.7 GHz 128MB RAM 20 GB HDD Windows ME My questions are: Can install and run UNIX in such a system? Do I have to stop using Windows? Is there a safe way to get the necessary software online? ... (5 Replies)
Discussion started by: ayalai
5 Replies

10. Shell Programming and Scripting

Just getting started

Can anyone tell me what the command Banner means or does Gibby9 (4 Replies)
Discussion started by: Gibby9
4 Replies
Login or Register to Ask a Question