Snog Well-known member Jun 12, 2015 #1 Is there any way to identify if a deferred task is running? I would like to disable certain items in an extension if a deferred task is running.
Is there any way to identify if a deferred task is running? I would like to disable certain items in an extension if a deferred task is running.
Jake B. Well-known member Jun 12, 2015 #2 Check out the xf_deferred table. I'm pretty sure you're able to tell from there. If not, you can extend the method that causes a deferred function to run and stop and add your own code in to check for this.
Check out the xf_deferred table. I'm pretty sure you're able to tell from there. If not, you can extend the method that causes a deferred function to run and stop and add your own code in to check for this.
Snog Well-known member Jun 12, 2015 #3 I'll probably have to do the later. I was hoping for an easy (built in) way of identifying that a deferred task was calling the function.
I'll probably have to do the later. I was hoping for an easy (built in) way of identifying that a deferred task was calling the function.