Aoe_Scheduler is capable of splitting you crons 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. En example could be a job which generates some kind of reports. Aoe Scheduler comes with whitelist/blacklist feature enabling you to do so.
How to make it work: 1. Assign a job to a group. Either from system -> scheduler -> job configuration -> edit form
, or from xml configuration:
<crontab>
<jobs>
<job_name>
<run>
....
</run>
<groups>reporting,other_group_name</groups>
</job_name>
</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 in system -> scheduler -> instructions
Note:
Aoe_Scheduler
has evolved, and @matthias-zeis answer is not correct for newer versions of Aoe_Scheduler
. The general idea of having cron groups is still valid, however the configuration should be different now.
Instead of using SCHEDULER_BLACKLIST and SCHEDULER_WHITELIST you should use configuration explained above.