This is not a scheduler issue per se, but I'm sure people have experienced this before. Cron runs as anonymous and therefore isn't allowed to do most workflow changes...well, none in fact.

I'm a bit baffled why this is only an issue for us with scheduler-workflow and not with lots of custom code we do also run on cron and an anon user wouldn't have permissions to execute - it just works.

Can anybody shine any light on this? I could easily load a user with the right permissions on scheduler cron, but I'd like to understand the issue first...

Thanks!

Comments

eric-alexander schaefer’s picture

Scheduler for D5 sets the state of the node directly in the database. There is no permission checking and there shouldn't be any since cron is an administrative task that should be allowed anything.

nicolash’s picture

Completely disregard my post...I was referring to the schedule fuctionality from the workflow module...

nicolash’s picture

Status: Active » Closed (fixed)