• Resolved maxcanis

    (@maxcanis)


    I have a plugin that requires a cron job to be setup on the host to run a php script. On my host I’m having trouble getting this to work. Can I use WP Crontrol to run cron jobs instead of running them from the host?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Yes you can add a “PHP Cron” event and schedule it accordingly. You might need to speak with the author of the concerned plugin to make sure that will work though; it depends on what exactly the PHP script is doing.

    I have a php file that runs fine as a host cron job and also if I enter the PHP file url in a browser it will run. If I create a PHP Cron with WP Crontrol and paste in the code it does not work. Off the top of your head are there changes to the code that need to be made before it will run from WP crontrol? I’ve tried everything I can think of from creating action hooks and more but nothing will get the code to run successfully from within WP Crontrol.

    • This reply was modified 2 years, 1 month ago by gabrieldiggs.
    • This reply was modified 2 years, 1 month ago by gabrieldiggs.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘run cron job with wp crontrol?’ is closed to new replies.