Schedule Types¶
To define a clear set of responsibilities and limit the extent of what can be done on each case, the schedules are divided in two different types:
- Infrastructure Schedules.
- Business Schedules.
Infrastructure Schedules¶
As for this type of schedule, it comprehends tasks that must be performed in background with a complexity that reaches low-level features which should not (or must not) be shown to the users. An infrastructure schedule could be any of the following:
- Polling tasks, i.e. from a Database.
- Sending a deferred message of one time after a determined event has been consumed.
- Clean or update some cache.
The Infrastructure Scheduler as its name suggests, is a service meant to register and execute infrastructure tasks.
Business Schedules¶
Here, the schedules have the completely opposite meaning of the previous type, the Business Schedules are tasks that involve business operations and have to be performed under some kind of periodicity which should be visible (and possibly updated as well) to the end users. This type of schedule comprehends any of the following tasks:
- Periodic Reports.
- Business tasks that have to be executed under the end user's desired recurrence.
Currently there is nothing designed to handle this type of schedules.