By Halim seffih on Wednesday, 25 January 2017
Posted in Technical Issues
Likes 0
Views 232
Votes 0
Hello,
Our website is on a mutualise server from the provider OVH that doesn't allow cron job with url calling.
So i use the example of godaddy to create a cron job calling the cron.php file.
I modify a bit the file to be able to log in our website that is currently protect by a htpasswd and to print some debug logs.
Change the rights to be 705.
The cron job seems to work and call cron.php but nothing happen about the mailling dispatch.
If i call the url directly in a browser, emails are send correctly.
Not sure what's going on.

Please find the Htpasswd in the additional information area with the log of the cron job.
There seems to be some sort of 301 redirection from your logs, http://take.ms/yJll1
·
Wednesday, 25 January 2017 00:45
·
0 Likes
·
0 Votes
·
0 Comments
·
yeah i just find it about, index.php is rewrite so i guess i need to change the url call in cron.php.
·
Wednesday, 25 January 2017 00:51
·
0 Likes
·
0 Votes
·
0 Comments
·
So it's not working without index.php, got 301 anyway,
Seems the language selector is the issue, i will try by forcing the it in the url.
·
Wednesday, 25 January 2017 01:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, let us know how this goes
·
Wednesday, 25 January 2017 01:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Eureka, that was it Forcing the language selector as parameter in the url resolve the 301 redirect.
The cron job work now
·
Wednesday, 25 January 2017 02:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 25 January 2017 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post