Skip to content
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

Closed
kstreitova opened this issue Jan 17, 2019 · 2 comments
Closed

cronie process doesn't finish when a mail can't be sent #27

kstreitova opened this issue Jan 17, 2019 · 2 comments

Comments

@kstreitova
Copy link
Contributor

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!

@t8m
Copy link
Member

t8m commented Jan 17, 2019

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.

@kstreitova
Copy link
Contributor Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants