For the first time in a module I am implementing hook cron, like so:
function mymodule_cron(){ dpm("Cron fired"); watchdog("hook_cron","Mymodule cron process",NULL, WATCHDOG_INFO); }
But nothing is happening when I run Cron.
In my node.tpl.php
I have used this snippet:
dpm(module_implements('cron'));
that proves that mymodule is one of those implementing cron, so I know it's seen...
What am I doing wrong?
So reading the code in bootstrap.inc, I discovered that there is a check for the severity of notice, and ignoring anything not matching.
so after doing this in admin/config/development/logging; watchdog works:
Thanks again!