Delaying Trigger execution with Cron
Useful with AJAX requests or when you have to wait for the data to be saved in database
First, you have to hook into your desired action. This is not the action added to Trigger.
This action registers a single cron even, executed after 5 seconds. Be sure to pass along all the params you need to identify the action.
Then, create the proxy action, called from cron, in which you call the real trigger action. Make sure here to compose all the parameters the Trigger'saction
method need.
Last updated