Limit on Number of Cron Jobs Running on one Account


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Limit on Number of Cron Jobs Running on one Account
# 1  
Old 08-30-2011
Limit on Number of Cron Jobs Running on one Account

Hello, I have some 150 Cron Jobs running under my UNIX account. I want to add some more jobs. Is there a limit to the number of cron jobs that can be run on an account?

Thank you.

Pramodini
# 2  
Old 08-30-2011
That would really depend on your system and its settings, of which you've mentioned nothing, but probably not.

Some daemons may wait for old jobs to finish before launching new ones, however.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 08-30-2011
Not all of them run simultaneously. They are pretty much dependent upon each other. I guess I should wait until all established production jobs are finished before launching new ones.

Thanks for your reply.

Pramodini
# 4  
Old 08-30-2011
Quote:
Originally Posted by Pramodini Rode
Not all of them run simultaneously. They are pretty much dependent upon each other.
If they're dependent upon each other, why not do it in one script where things (or groups of things) run in order, instead of scattered across tons of cron jobs whose timing is arbitrary and crucial?
# 5  
Old 08-30-2011
Quote:
Originally Posted by Pramodini Rode
Is there a limit to the number of cron jobs that can be run onan account?
no
This User Gave Thanks to frank_rizzo For This Post:
# 6  
Old 08-31-2011
I am not comfortable running in one script because in case the job fails, having separate logs for each of my jobs makes it easier to debug and pinpoint the issue. This saves a lot of time and frustration especially when/if production job fails and need the immediate attention before any of the customers are adversely affected.

Thank you very much for your insight. It is appreciated.

Pramodini
# 7  
Old 08-31-2011
Isn't the limit on number of cron jobs related to maxuprc (maximum number of process per user?) which is a parameter on solaris. I think HPUX has a similar setting in queuedefs file.

So I think there is a limit on the number of jobs/processes a user can run. You may want to check on those parameters.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

cron jobs not running during certain window

Hi unix.com, I'm currently experiencing a problem on one of our servers at work where between the hours of approx. 1:00 AM and 2:0 AM no jobs scheduled through cron run. Now, in the cron logs I do see that all jobs are launched and I'm not seeing any errors anywhere - but - none of the jobs... (2 Replies)
Discussion started by: tunachamp
2 Replies

2. Solaris

cron jobs not running from sudo

Hi, I am logging into sun solaris unix box as asood user.Then sudo su_appssu and scheduled my cron jobs.The user appssu is there In the /etc/cron.d/cron.allow . I do not understand why the jobs are not kicking by cron. Do I need to enter directly as appssu ? Regards Megh (10 Replies)
Discussion started by: megh
10 Replies

3. Shell Programming and Scripting

Cron Jobs Still Running In Backgound

Hi guys, I've got a few cron jobs ... porblem is they are running as intended but some of them just tend to stay there in sleeping mode for quite some time ... sometimes even days ... for example when i run the ps command i can see that some are still there although the same script had run many... (6 Replies)
Discussion started by: King Nothing
6 Replies

4. OS X (Apple)

cron jobs running, but not...

I have a cron job set up to run a script on my Leopard Server every night. The job is set up as root, and when I run the script manually, it runs fine. The problem is that it is not doing anything when it runs at night. In the cron log, it says it ran, but did not output the results to the file it... (3 Replies)
Discussion started by: yodomino6
3 Replies

5. UNIX for Advanced & Expert Users

Seriously, cron jobs not running.

Before I get a million and one suggestions on all the things that could be wrong with my scripts - let me assure everyone that this is not the issue. i have a RH EL ES4 server that stopped running all cron jobs except hourly, daily, weekly. This has affected all users including root. No... (7 Replies)
Discussion started by: bill_k_Lopez
7 Replies

6. Shell Programming and Scripting

limit the number of jobs to run.

i just want to get the BackGround status and limit the number of jobs to run the at a time. can i able get the back ground exit status ? that i code below. can jobs -l limit the number of jobs to run ? total is this script looks fine ? cat run_job.ksh #!/usr/bin/ksh... (0 Replies)
Discussion started by: GrepMe
0 Replies

7. Shell Programming and Scripting

background jobs exit status and limit the number of jobs to run

i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help. $cat run_job.ksh #!/usr/bin/ksh #################################### typeset -u SCHEMA_NAME=$1 ... (1 Reply)
Discussion started by: GrepMe
1 Replies

8. UNIX for Dummies Questions & Answers

How to tell which cron jobs are still running?

I have some cron jobs that are taking a might long time. That is because they are screen scrapers and I inserted an extra long pause (10 minutes between screens) to be extra polite and minimize network traffic. I was going to have them run once a day but now I'm thinking once a week. How do I... (2 Replies)
Discussion started by: siegfried
2 Replies

9. UNIX for Dummies Questions & Answers

running cron jobs

I would like to add a job using cron. I have following questions - cron jobs are launched using what login-id e.g. is the script launced using my login-id - In which directory would the cron jobs be launched ? - where do the environment variables required in the script being lauched come... (3 Replies)
Discussion started by: sharanbr
3 Replies

10. Shell Programming and Scripting

running cron jobs

Hi, I'm new to cron and I would like to know if this cron entry looks right. Every monday to friday, at 9:15 AM execute the script called done_att.sh Every monday to friday, at 3:15 PM execute the script called start_att.sh 15 09 * * /u54/jobs/done_att.sh 45 15 * *... (1 Reply)
Discussion started by: ted
1 Replies
Login or Register to Ask a Question