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 06:55 AM
Is this a bug or a limitation? gilberteu Shell Programming and Scripting 2 11-10-2006 06:03 AM
Limitation of ls command cskumar Shell Programming and Scripting 2 10-26-2006 11:54 AM
HP-UX 11i - File Size Limitation And Number Of Folders Limitation sundeep_mohanty HP-UX 2 08-01-2005 08:58 PM
find limitation Nicol Shell Programming and Scripting 2 04-19-2005 03:01 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-12-2005
naoremb naoremb is offline
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.
  #2 (permalink)  
Old 06-17-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Please don't post questions in the faq queue. You need to pick an appropiate forum.
  #3 (permalink)  
Old 06-18-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0