Primary routines do not have a set time that they need to run by. Ancillary routines do. Every ancillary has a schedule set by the user. e.g Run Every hour or run every day at 9am.


The times for ancillary routines are fluid because it is possible to have two routines scheduled for the exact same time but not possible to run both routines at the same time. Therefore the time that a user sets, is NOT the actual time that the routine will run. It is the date/time that the routine will NOT RUN BEFORE. Once the time has passed, the routine is overdue and therefore eligible to be run.


The Enabled setting on the setting page of all routines does NOT turn the routine on or off..  It turns the SCHEDULE for the routine on and off.  This means that the routine will not run on its given schedule but it can run by other means.  For example, you can turn off the Patrol routine and it will not run each day at the set time but it may run if you have selected it an an option in the Idle Time routine.


Ancillary routines will run in order. The most overdue will run first and Ragebot will continue to run ancillaries until there are none overdue.


Once all overdue ancillaries are completed, the primary routines will start. They are scheduled as follows.


Gathering.

Gathering is the only routine that has a specific number of marches assigned to it. Therefore it runs first so they can be filled. Once the marches are full, the routine will fill the cache. You can avoid this by turning off the "Send Tiles To Cache" option in settings. It is best to have farm accounts fill the cache so important accounts can join rallies etc.


Start Rallies

Once gathering is complete, Start Rallies is eligible to be run. It will only run if you have the required number of bosses in the cache and will continue until it has nothing else to do. For example, if all of your troop marches are busy.


Join Rallies

Join rallies will then run. This routine has no natural end which is why it is run last. There are always more rallies to look for. It will run until it detects that there are other routines waiting. For example, it may detect than an ancillary routine is due or it may notice that a gathering march is now free.