It would be very useful to be able to make a Workflow-ng rule which evaluates on a cron run event. In my case I want to be able to have a condition which checks whether it is the first day of the month (custom php code condition) and if so executes an action which resets a database field to 0 (custom php action). Is this possible to implement or can you think of some other way to do this which doesn't involve cron?

Comments

fago’s picture

sounds well. The only problem is that there are no entities provided by the cron hook - no user, content or so to work with. So one can just go with custom php actions for now. Feel free, to provide a patch :)

mitchell’s picture

Status: Active » Fixed

This is fixed in Rules with the "Cron maintenance tasks are performed" event.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.