Hi there,
is there any way to know when the poorsman cron was launched ?
I mean, once poorman cron is launched I need to know than the execution of differentes hooks, in my case hook_nodeapi and VIEW event, is running because of poormans cron in order to allow o disallow some operation.
Thanks in advance,
Ricardo
Comments
Comment #1
rsantiag commentedFinally I found a way to know when poorsmancron is running.
In poormanscron.module you have to replace this code in poormanscron_exit:
With this one:
Now if you want to know if the execution of a hook is because poorsmacron you only need to use:
Hope this can help someone.
Comment #2
dave reid