The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Awk limitation Raynon Shell Programming and Scripting 28 09-30-2007 02:55 AM
Is this a bug or a limitation? gilberteu Shell Programming and Scripting 2 11-10-2006 03:03 AM
Limitation of ls command cskumar Shell Programming and Scripting 2 10-26-2006 07:54 AM
HP-UX 11i - File Size Limitation And Number Of Folders Limitation sundeep_mohanty HP-UX 2 08-01-2005 04:58 PM
find limitation Nicol Shell Programming and Scripting 2 04-18-2005 11:01 PM

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

Join Date: Jun 2005
Location: Bangkok, Thailand
Posts: 1
Cron Job Limitation

1. Is there any side effect if we change maximum number of jobs that can be run simultaneously for cron from default value of 100 to 400 or 500 in file "queuedefs" ?

2. What can be the effective way to check whether the cron job is already running or not, so that the next job should not start
e.g. 4,9,14,19,24,29,34,39,44,49,54,59 * * * ksh /usr/home/tmp/t.sh 10 0 11

Thank you in Advance.
Reply With Quote
Forum Sponsor
  #2  
Old 06-17-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,656
Please don't post questions in the faq queue. You need to pick an appropiate forum.
Reply With Quote
  #3  
Old 06-18-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
1. Yes. Server load for one thing.

2. Put a check in the script. Either get it to create some sort of lock file (and remove it when it's finished - remember to set up traps), and then when it's executed see if the lock file exists, if it does, exit. You could also grep through ps output, etc... more than one way to skin this cat.

Cheers
ZB
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 09:34 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