• Resolved cseevinck

    (@cseevinck)


    I schedule a recurring event using this code:
    as_schedule_recurring_action( time(), 2, ‘tsbs-async-execute-hook’, array( ‘tsbs’ => null ), ‘tsbs-thumbnails’ );

    After some processing I want to cancel this recurring event with this code:
    as_unschedule_all_actions( ‘tsbs-async-execute-hook’ );

    The event does not get cancelled!
    Any help appreciated

Viewing 1 replies (of 1 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi @cseevinck,

    It sounds like it might be a bug, but it’s a little hard to be sure without seeing more of your code (for instance, right now we cannot tell when your call to as_schedule_recurring_action() is taking place, or if it will be called again following your unschedule call).

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘as_unschedule_all_actions not working’ is closed to new replies.