Open
Description
Description of the feature
At times, I've encountered situations where cron tasks became unresponsive, causing numerous processes to run and hang indefinitely, thus consuming significant resources.
I believe implementing a maximum execution time limit for cronjobs using the timeout
command is a prudent idea. This measure should prevent any potential issues, provided the timeout duration is reasonable. For instance, setting a timeout of 30 minutes for tasks scheduled every 5 minutes should ensure smooth operation without risking system stability.
Benftits of feature
Having better control of background tasks.
Additional context