The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cron job starts new cron proccess ron76 SUN Solaris 3 05-11-2008 10:07 PM
AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log Keith Johnson AIX 0 01-09-2008 05:32 PM
cron execution rameek20 SUN Solaris 6 10-22-2007 02:30 AM
why read line skips some lines... bluemoon1 Shell Programming and Scripting 8 10-07-2007 12:55 PM
Sequential execution of job in cron pankajkrmishra Shell Programming and Scripting 3 08-15-2006 02:19 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2005
Registered User
 

Join Date: Jul 2005
Posts: 6
Exclamation Cron Skips Execution

Hi All,
I got a very strange problem, i have created a cron schedule that will run a programme once in every 12 mins, like

04,16,28,40,52 * * * * /myf/startProcessA 1> &-

Some time the cron skips the execution such as 04,28 instead of executing at 16 mins. it starts execution at 28, i suspect it may be a cron related problem. Can anybody help me in this regard

Thanks
Nag
Reply With Quote
Forum Sponsor
  #2  
Old 09-12-2005
Registered User
 

Join Date: Feb 2005
Location: Canada
Posts: 133
Have you tried with another script using the same cron schedule, let's say something very simple. Maybe this doesn't have anything to do with cron. It could be something in your script, difficult to tell without seeing your script.
Reply With Quote
  #3  
Old 09-13-2005
Registered User
 

Join Date: Jul 2005
Posts: 6
Arrow

Thanks for your reply, the cron script is having more than 100 schedule entries (scripts), the cron execution skips occassionaly (i could not find out when the process will skip).

I have tried to execute the same script with another cron with less number of schedules (15) , then no problem in execution (means no skips)

Is there any limitation on the "No. of schedules" of cron????

Last edited by nag_sundaram; 09-13-2005 at 04:33 AM. Reason: More Info
Reply With Quote
  #4  
Old 09-13-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
cron does have a limit of how many jobs it can run at one time (100 executing jobs is the limit on Solaris). Just because you have 100 different entries does not mean you have reached that limit unless each one runs every minute.

Check your cron log for errors - possibly /var/cron/log. The only times I have seen issues with it was when a user changed their script and caused it to run longer than needed - cron reached it's limit and the user blamed cron instead of noting that he had over 100 jobs running on the server of the same script.
Reply With Quote
  #5  
Old 10-24-2005
Registered User
 

Join Date: Oct 2005
Posts: 7
Quote:
Originally Posted by RTM
cron does have a limit of how many jobs it can run at one time (100 executing jobs is the limit on Solaris). Just because you have 100 different entries does not mean you have reached that limit unless each one runs every minute.

Check your cron log for errors - possibly /var/cron/log. The only times I have seen issues with it was when a user changed their script and caused it to run longer than needed - cron reached it's limit and the user blamed cron instead of noting that he had over 100 jobs running on the server of the same script.

Hi,
Can u provide me a link where I can find more infromation on solaris limit of 100 Jobs....

Thanks for this valuable info
Reply With Quote
  #6  
Old 10-24-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
See "man queuedefs".
Reply With Quote
  #7  
Old 10-25-2005
Registered User
 

Join Date: Oct 2005
Posts: 7
Quote:
Originally Posted by Perderabo
See "man queuedefs".
Thanks.....
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0