Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

cron problem


cron problem

Having a problem with cron. This is the error:MAXRUN (25) procs reached Fri Jun 8 10:13:00 2007
Jobs that were issued by cron never seem to complete, get run again by cron and eventually we get the same error message again. If we kill off some of the earlier scheduled jobs, cron takes off again but the jobs don't complete again. Any ideas?
Rob Leadbeater
Honored Contributor

Re: cron problem


As the error message says, only 25 processes (MAXRUN), can run from the cron at the same time.

You can increase this number by modifying the max_jobs parameter in /var/adm/cron/queuedefs

However you should probably only do this as a workaround until you determine why the cron jobs are hanging... Are they doing anything out of the ordinary ?

Hope this helps,


Ivan Ferreira
Honored Contributor

Re: cron problem

What happens if you run the job manually? It hangs too or completes?

Can you redirect stdin and stdout to some log file for the job runned by cron so you can know where it stopped?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?