We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Cron Jobs | Forum

Gerry
Gerry Jul 13 '17
When you set up your cron jobs for your site on a nix server, your hosting account might start to send you emails for each one.

These emails can rapidly fill up your inbox.

I has 440,000 of the little blighters to get rid of.

If you want emails stopped, when you set up your cron jobs, add this (without the quotes) cron code[space]>/dev/null 2>&1 

Or, "
> /dev/null" or "> /dev/null 2>&1 || true"

Without the quotes

Perhaps an admin could sticky this, as some people will not know about it.
The Forum post is edited by Gerry Jul 13 '17
Christian
Christian Jul 14 '17
Thanks for this information very useful
OW-Ghost
OW-Ghost Jul 14 '17
i never have this issue in 3 years? i use nginx on apache server.


what is the benefits with nixos?

The Forum post is edited by OW-Ghost Jul 14 '17
Gerry
Gerry Jul 14 '17

Quote from OW-Ghost i never have this issue in 3 years? i use nginx on apache server.


i think your server is not correct setup my friend

A search on Google shows many people have the same issue. Thats why I posted the info on how to stop them.
OW-Ghost
OW-Ghost Jul 14 '17
ok great....what is benefits with nixos? and what is nix? i never heard about it before?
The Forum post is edited by OW-Ghost Jul 14 '17
Gerry
Gerry Jul 16 '17
Any server running cpanel will output emails when a cron runs.