In my plugin I'm able to set a cron event like so:
wp_schedule_event(time(), 'daily', 'myhookname');
But want I want to do is be able to find out what recurrence I have set for
The reason why is that I'm offering a setting to allow the recurrence to be changed. What I need to do is check if the recurrence setting has changed from what its currently set as and if so remove the event and reschedule the event with the new recurrence.
So if there a function like this:
$recurrence = wp_current_event_recurrence('myhookname'); // returns hourly/daily/etc