Home » Infrastructure » Unix » CRON Tab: How reliable
CRON Tab: How reliable [message #97352] Thu, 21 March 2002 22:39 Go to next message
Sujit Mahapatra
Messages: 19
Registered: March 2002
Junior Member
How far cron is reliable? The system at client
site has been using crontab properly for last 3
years. There are about 60 entries in the cron.
Some of which are run as frequently as every 15
minutes, everyday !

Recently, there were a few cases, it was found
that the command in the cron was executed twice
for one of those 60 entries. As if there were
two entries for that shell to be run at the same
time. The same happened for another job. This
was found from the log file which should create
only one file at a given time. But there were
two as found from backup directory, at a
particular time. (There were two files generated
for a job at a time, 2140 hours on 20 Mar)

Note: There are frequent modification to the
crontab recently. (Though the lines containing
commands for above mentioned jobs were never
touched.)

Is my concern justified? Or is it that "This error
is never possible" and should look for some other
process that might have triggered this simultaneous
run?

Thanks in advance,
Sujit
Re: CRON Tab: How reliable [message #97353 is a reply to message #97352] Fri, 22 March 2002 11:14 Go to previous messageGo to next message
Grant
Messages: 578
Registered: January 2002
Senior Member
I have used cron for years and never had problems. Make sure there isn't another user running the same jobs from another cron. Another point is that if the script was run interactively it would have also created a log.
Re: CRON Tab: How reliable [message #97366 is a reply to message #97352] Thu, 28 March 2002 03:46 Go to previous message
Sanjay Bajracharya
Messages: 279
Registered: October 2001
Location: Florida
Senior Member
I have used it for years and never had any problems at all.
Previous Topic: Oracle 8.1.7 Installation- Linking Error on Solaris 8
Next Topic: Re: Remote to install Oracle
Goto Forum:
  


Current Time: Fri Mar 29 05:19:58 CDT 2024