• Hello,

    I recently moved a site from a cPanel hosting, to one where I don’t have access to cPanel or similar, only wp admin.

    On the old server I had this cronjob command, every 10min:

    wget -q -O /dev/null "https://www.site.com/wp-json/myapi/v1/myapiroute?r=83745dsgg" > /dev/null 2>&1

    Basically the cronjob would simply run that url (which is the endpoint of a custom route that once called has a callback) which would then trigger other things. Could you help setting up a sample function that does the same (just trigger that endpoint)?

    How can I still run this, but just using WP Cron Manager?

    Thank you

  • The topic ‘How to convert cPanel cron command to WP Cron’ is closed to new replies.