Posts tagged with "Views"

Running views during hook_cron which require admin privileges

Posted: 10:24am 27th Jun 2011

When needing to set up scheduled task in custom drupal modules, it is common to handle these with a hook_cron function. When this hook is triggered, it usually runs as the drupal anonymous user, but in some situations you want to run code during cron which requires certain higher level privileges.