Closed (fixed)
Project:
Workflow-ng
Version:
5.x-2.x-dev
Component:
Wng API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2008 at 22:44 UTC
Updated:
13 Apr 2009 at 01:40 UTC
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
Comment #1
fagosounds 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 :)
Comment #2
mitchell commentedThis is fixed in Rules with the "Cron maintenance tasks are performed" event.