• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Identify If Deferred Task Is Running

Snog

Well-known member
#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.
 

Jake B.

Well-known member
#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.
 

Snog

Well-known member
#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.