Setting up external cron job
I am having trouble getting a cron job to execute.
I have set up an external cron job to call https://www.ourswebsite.co.uk/wp-cron.php?crontrol_cron_job=1
I have installed a plugin on WP crontol, i have setup a cron schedule for Sendy for every 5 minutes.
I have then set up a php event, using the cron schedule previously set up. I tried the code php /www/sendy/scheduled.php > /dev/null 2>&1
as suggested in Sendy but it wont accept the php /www
bit, when removed it accepts it. But when the cron job is run it is not being recognised in Sendy and removing the cron setup screen.
Any help would be appreciated.
This discussion has been closed.
Comments
Hi,
If you are using an external cron job service, the "Command" should usually be a full URL to the script:
https://www.a1designs.co.uk/sendy/scheduled.php
instead of:
php /www//sendy/scheduled.php > /dev/null 2>&1
Best regards,
Ben
Thanks for the help ben,
So does that mean I don't need to set up anything with WP Control in the back end of wordpress?
Sendy is not related to Wordpress, so any plugins you install on Wordpress won't affect Sendy.
Best regards,
Ben