Open ffxluca opened 6 years ago
Hey, this is Luca from FFX. Our paths cross again =)
I can see both CAVALCADE_JOB_ID and DOING_CRON constants are defined in Command::run() just before the actual execution of the scheduled hook.
CAVALCADE_JOB_ID
DOING_CRON
That means I cannot access them during, say, any init or admin_init hook.
init
admin_init
I can confirm DOING_CRON not being set (yet) caused problems for my plugin as well.
Hey, this is Luca from FFX. Our paths cross again =)
I can see both
CAVALCADE_JOB_ID
andDOING_CRON
constants are defined in Command::run() just before the actual execution of the scheduled hook.That means I cannot access them during, say, any
init
oradmin_init
hook.