Create function in functions.php with hook name to execute URL

Question

I’m trying to use WP Crontrol to run a cron job that executes 2 URLS:

Cron job 1: exampleurl.com – once every 2 minutes
Cron job 2: exampleurl2.com – once every 24 hours

How can I right a function to do this that I can execute via the hook name using WP Crontrol?

Thanks,

0
, Phil 4 years 2020-02-23T08:38:32-05:00 0 Answers 81 views 0

Leave an answer

Browse
Browse