Aoe_Scheduler is capable of splitting your cron jobs into different groups so you can run them in parallel or distribute them on multiple servers. Running multiple scheduler jobs in parallel is quite handy when you have some jobs which take a long time to run, and are not crucial for shop to run properly. An example could be a job which generates some kind of reports. Aoe Scheduler comes with whitelist/blacklist feature enabling you to do so.
-
Assign a job to a group. Either from
System > Scheduler > Job Configuration > Edit
form, or from xml configuration:<crontab> <jobs> <job_code> <run> .... </run> <groups>reporting,other_group_name</groups> </job_code> </jobs> </crontab>
Aoe_Scheduler will merge xml configuration with the one from db.
-
Configure your crontab entry using
--includeGroups
and--excludeGroups
You can find examples inSystem > Scheduler > Instructions
. See more about Instructions here