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

Crontab redirect output to /dev/null #127

Open
Mehdi-Bl opened this issue Feb 17, 2015 · 5 comments
Open

Crontab redirect output to /dev/null #127

Mehdi-Bl opened this issue Feb 17, 2015 · 5 comments
Milestone

Comments

@Mehdi-Bl
Copy link
Contributor

Any new cron setup will send emails to apache user... output should be redirected to /dev/null

/dev/null 2>&1

So we should append the above to each cron.

@uberswe
Copy link

uberswe commented Feb 17, 2015

Would be even better if it was an option that you could set.

@Mehdi-Bl
Copy link
Contributor Author

What option?? first we fix it then we think about adding features.

@uberswe
Copy link

uberswe commented Feb 18, 2015

Well your fix may be seen as a problem to some but a good feature to others, perhaps some like having it on so they can debug problems by checking the cron emails. If the emails you can empty the mailbox every x days just like you might clear logs automatically. Just my 2 cents

@Mehdi-Bl
Copy link
Contributor Author

/dev/null is a fix needed otherwise the postfix queue will be flooded with a lot of emails for root/apache user!
If you want output for debug execute manually your cron & that will do it fine!
We are fixing an issue here not adding feature that's the priority.

@Caffe1neAdd1ct Caffe1neAdd1ct added this to the 1.0.4 milestone Sep 28, 2015
@xabixab
Copy link

xabixab commented Apr 17, 2016

This is fixed with #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants