[ACCEPTED]-How do I increase timeout for a cronjob/crontab?-cron
Accepted answer
Note that the ulimit -t
solution suggested will limit 8 the amount of CPU time used, not the amount 7 of actual time that has passed.
From the 6 bash
manpage:
ulimit [-HSTabcdefilmnpqrstuvx [limit]]
...
-t The maximum amount of cpu time in seconds
And more importantly, cron doesn't 5 impose any timeouts in the first place. It 4 simply kicks off whatever process and moves 3 on.
BTW: Sorry for posting this as an answer, but 2 I don't have enough points to add comments 1 yet.
You could try to use ulimit -t [number of seconds] in 1 the cronjob before running the script.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.