Currently, with WP Cron, if you register number of actions, for example, 1000 tasks to run and one of them stalls, it affects all the other actions preventing them from being loaded at the time.
The goal of this plugin is to resolve such issues and become the solution for WordPress powered back-end application servers to provide full-brown API functionalities..
Place the code that includes the in your plugin or functions php of the activated theme. 1.
Proceed with the wizard and when you get Select Action screen after setting up the occurrence, type my custom action, the one you defined in the above step..
If you want your action to be listed in Select Action screen, you need to create action module..
In doAction of the above class, define the behaviour of your action what it does.
To register your action module, just instantiate the class you defined. loadTaskSchedulerSampleActionModule { Register action module include module TaskScheduler SampleActionModule php ) new TaskScheduler SampleActionModule } add action 3.
The set values will be stored in the element of the array returned by getMeta of the routine object..
Then modify the code, especially doAction method which defines the behavior of the action..
For example, The action creates threads and sends emails per thread instead of sending them all in one routine to avoid exceeding PHP's execution time...
Read more