By Pieter J.van horssen on Saturday, 09 January 2016
Posted in Technical Issues
Replies 1
Likes 0
Views 445
Votes 0
I started usuing the cron job voor Mailchimp.
wget , however, is has been banned by the hoster for security reasons.
They want me to use the following :
/usr/bin/curl --user-agent CronJob --retry 1 --max-time 60 -o cron.txt http://example.com

Important is to setup a user-agent in the command to prevent ModSecurity to generate error messages.

Can you help me out here or advice what to do?
You could try this but it's best that you check with your hosting provider as to what "user agent" should be used.

/usr/bin/curl --user-agent CronJob --retry 1 --max-time 60 -o cron.txt "http://yoursite.com/index.php?option=com_easyblog&task=cron";

Remember to replace yoursite.com with your real domain name.
·
Saturday, 09 January 2016 12:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post