HOw to prevent emails from?
HOw to prevent emails from?
As topic, how do I prevent messages from my cron job?
Thanks :)
Thanks :)
Re: HOw to prevent emails from?
You can null the output by adding ">/dev/null 2>&1" to the end of your command like
Code: Select all
echo "ok" >/dev/null 2>&1
Re: HOw to prevent emails from?
I did that and got several files in my home folder (all empty)skid wrote:You can null the output by adding ">/dev/null 2>&1" to the end of your command likeCode: Select all
echo "ok" >/dev/null 2>&1
Re: HOw to prevent emails from?
It sounds like something wrong with the redirection. Can you show the full command you use?
Anyway you can completely disable cron reporting for the user account if you run following
where admin is you target user.
Anyway you can completely disable cron reporting for the user account if you run following
Code: Select all
v-delete-cron-reports admin
Re: HOw to prevent emails from?
Ah thanks nice :)skid wrote:It sounds like something wrong with the redirection. Can you show the full command you use?
Anyway you can completely disable cron reporting for the user account if you run followingwhere admin is you target user.Code: Select all
v-delete-cron-reports admin
PS: Vesta is the best panel ever :) Keep up the good work! :D