Addon cron hooks not working - how to debug?
About a month ago cron jobs from my custom addons mysteriously stopped working. (It says a lot that I only just noticed!) Functions added with the "cron" hook are never being run.
I'm trying to debug how these hooks are supposed to be called, and getting nowhere. I'm starting to wonder if they even get called at all? It's really hard to figure out the code path. Every time I find a function with "cron" in the name, it has a comment claiming that it runs cron jobs, but in fact it adds a row to a database or forks a subprocess or executes a new process or something.
Can someone point me to the place in the code where addon cron jobs are supposed to be directly run?
@Friendica Developers
I'm trying to debug how these hooks are supposed to be called, and getting nowhere. I'm starting to wonder if they even get called at all? It's really hard to figure out the code path. Every time I find a function with "cron" in the name, it has a comment claiming that it runs cron jobs, but in fact it adds a row to a database or forks a subprocess or executes a new process or something.
Can someone point me to the place in the code where addon cron jobs are supposed to be directly run?
@Friendica Developers
Friendica Developers reshared this.
Matthew Exon
in reply to Matthew Exon • •Hypolite Petovan likes this.
Friendica Developers reshared this.