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.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone tell me what the command Banner means or does
Gibby9 (4 Replies)
Discussion started by: Gibby9
4 Replies
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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
6. OS X (Apple)
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Dummies Questions & Answers
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
10. Shell Programming and Scripting
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
LEARN ABOUT POSIX
queuedefs
queuedefs(4) File Formats queuedefs(4)
NAME
queuedefs - queue description file for at, batch, and cron
SYNOPSIS
/etc/cron.d/queuedefs
DESCRIPTION
The queuedefs file describes the characteristics of the queues managed by cron(1M). Each non-comment line in this file describes one queue.
The format of the lines are as follows:
q.[njobj][nicen][nwaitw]
The fields in this line are:
q The name of the queue. a is the default queue for jobs started by at(1); b is the default queue for jobs started by batch (see
at(1)); c is the default queue for jobs run from a crontab(1) file.
njob The maximum number of jobs that can be run simultaneously in that queue; if more than njob jobs are ready to run, only the first
njob jobs will be run, and the others will be run as jobs that are currently running terminate. The default value is 100.
nice The nice(1) value to give to all jobs in that queue that are not run with a user ID of super-user. The default value is 2.
nwait The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that job's
queue, or because the system-wide limit of jobs executing has been reached. The default value is 60.
Lines beginning with # are comments, and are ignored.
EXAMPLES
Example 1: A sample file.
#
#
a.4j1n
b.2j2n90w
This file specifies that the a queue, for at jobs, can have up to 4 jobs running simultaneously; those jobs will be run with a nice value
of 1. As no nwait value was given, if a job cannot be run because too many other jobs are running cron will wait 60 seconds before trying
again to run it.
The b queue, for batch(1) jobs, can have up to 2 jobs running simultaneously; those jobs will be run with a nice(1) value of 2. If a job
cannot be run because too many other jobs are running, cron(1M) will wait 90 seconds before trying again to run it. All other queues can
have up to 100 jobs running simultaneously; they will be run with a nice value of 2, and if a job cannot be run because too many other jobs
are running cron will wait 60 seconds before trying again to run it.
FILES
/etc/cron.d/queuedefs queue description file for at, batch, and cron.
SEE ALSO
at(1), crontab(1), nice(1), cron(1M)
SunOS 5.10 1 Mar 1994 queuedefs(4)