The below schedule command is in an app, however it does not run/trigger.
I've tried the two variations shown in the code with no luck.
After the last code modification of the app, I removed it from the apps page and re-added it hoping the issue was the lack of initialization. The subscribe commands are working.
@bravenel mentioned a quirk in the cron decoding a very long time ago, however this line is almost verbatim from the documentation.
There is no automatic call to a method called initialize() for apps. It's only what you make it. Are you calling it anywhere? As a general first step, sprinkling log.debug or similar lines throughout your code can help you figure out what's happening or not.
The documentation should have quotes around the handler method name, but I can almost guarantee that this is not your problem since itβs normally good about handling that either way. Iβm not sure what it is, but the above would be my first guess if that is the only assumption you were running with.
The below format works. Why did you add no specific value for hours in the original? Every ten minutes does not leave an ambiguous hour that needs a ? there, how I am seeing it.
Thanks to all. I ended up copying the code from the documentation and it worked. I have not yet tested without the quotes around the "handler" but will.