I need to run a hook that I developed inside a plugin at 3 hour intervals, I would like to be able to call this command in an external file so add to the server cron.
I need to run a hook that I developed inside a plugin at 3 hour intervals, I would like to be able to call this command in an external file so add to the server cron.
Hi, Victor.
For these cases I use the WP Cron Control plugin. A simple solution without having to re-invent the wheel.
I hope it helps.