-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cronie process doesn't finish when a mail can't be sent #27
Comments
I do not think this is a right way. It is responsibility of the sysadmin to ensure that the cron jobs (or the mail jobs) finish properly. Killing the child jobs can have serious consequences and it is not even ensured that everything will be killed. |
Hm, I guess that makes sense. Thank you for your reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It can happen that a mail with the output of the job can't be sent (e.g. because of postfix misconfiguration). In that case, cron waits till the children process is finished which can cause that cron process doesn't quit and every time the cron job is repeated, a new process will be started and processes are piling up.
Maybe a timeout after that the waiting for the child process is ended could be a solution. What do you think?
Thanks!
The text was updated successfully, but these errors were encountered: