I don't know why my scheduled cron events not working anymore, it used to before with the same code.
I wrote a plugin that updates a CRM with the order note, if the communication fails I setup a scheduled event for the same function to run with the same arguments for 1 minute in the future with this piece of code:
wp_schedule_single_event( time() + MINUTE_IN_SECONDS, 'woo_kala_order_note_added', array( $comment_id, $kala_order_id ) );
I tried to place
woo_kala_order_note_added function both in the plugin and in the theme and error log the arguments but my debug.log is still empty.
Any idea why this might happen?