By Tony Martinez on Friday, 08 April 2016
Posted in General
Replies 5
Likes 0
Views 748
Votes 0
This is actually a continuation from another ticket thread (User Having Trouble With Registration - #261634), which you helped me with. The code you provided to set up the cron job was successful:

/usr/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easysocial&cron=1";

However, what can we add to the code to prevent from receiving the email notifications? When we contacted Siteground support, they said to simply delete the cronjob, but that didn't seem to be the right answer, as I assume that would have stopped the email processing.
Hi Tony Martinez,

Correct me if I am wrong. Do you mean the email notification from the server? If yes, you have two option to disable the notification:
1st Option:
You can remove your email in the Siteground's email configuration.
2nd Option:
Can you replace the command
/usr/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easysocial&cron=1";;>/dev/null 2>&1
·
Friday, 08 April 2016 12:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm still getting email notifications with the following message:

--2016-04-08 14:00:01-- http://impliedmagazine.com/index.php?option=com_easysocial&cron=1
Resolving impliedmagazine.com (impliedmagazine.com)... 181.224.147.207
Connecting to impliedmagazine.com (impliedmagazine.com)|181.224.147.207|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/x-json]
Saving to: '/dev/null'

0K . 187M=0s

2016-04-08 14:00:02 (187 MB/s) - '/dev/null' saved [1474]
·
Saturday, 09 April 2016 04:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tony,

Are you using cpanel? There is a settings in the cronjob of cpanel that allows you to uncheck if you do not want to receive notifications when the cron is executed. Also the cronjob should actually be this,

·
Saturday, 09 April 2016 14:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

The problem resolved?
If not, You may try easycron.com as a trigger, you can set to receive Email notice from EasyCron or not. You can also choose the Email sending condition, e.g. at every time the cron job run or on failure.
·
Tuesday, 12 April 2016 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing
·
Tuesday, 12 April 2016 18:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post