By alexander on Wednesday, 10 June 2015
Posted in General Issues
Replies 1
Likes 0
Views 550
Votes 0
Hi,

I'm using cronjob to execute every minute, so i receive a notification on my email about it every minute.
Can i turn off these notifications?

Here is what i found on the documentation:
You can have cron send an email everytime it runs a command. If you do not want an email to be sent for an individual cron job you can redirect the command's output to:

/dev/null like this: mycommand >/dev/null 2>&1



So how do i apply this command into regular my cronjob command i'm using now:

/bin/wget -O /dev/null "http://mysitename.com/index.php?option=com_easysocial&cron=true&phrase=secreeet";

Please help me to edit, thank you very much
Hello Alexander,

Can you try the following command and see how it goes?
/bin/wget -O /dev/null 2>&1 "http://mysitename.com/index.php?option=com_easysocial&cron=true&phrase=secreeet";;

If it does not work perhaps you can contact your webhosting service provider regarding on how to turn off email notification for each cron jobs. Hope these help.
·
Wednesday, 10 June 2015 12:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post