Closed (fixed)
Project:
Workflow-ng
Version:
5.x-2.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2008 at 18:42 UTC
Updated:
17 Oct 2008 at 20:23 UTC
Hello,
think this should have an easy fix....
I'm trying to make workflow-ng execute the cron.php
I need to run cron every time a certain node type has been submitted, so i provided an action with workflow that starts when a node is submitted, with the type condition and then i used custom php code to execute cron.
What i've done is just copy and paste the cron.php content and i think this is not correct...'cause the action it's not working
What should i use as php code to execute cron inside a workflow-ng configuration?
Thanks
Da.
Comments
Comment #1
waffle commentedMaybe put just drupal_cron_run() in your action function? I think that's all you should need, but I'm not 100% sure on that...
You should probably make sure your action is even running at all. In your action function, if you put some other code in there (write a line to watchdog, whatever), does it log the line to watchdog?
It might be more helpful if you could show us your code for the hook_action_info / action function itself, and your configuration rule.
Comment #2
christefano commentedThis was committed a while ago in commit #130352.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.