Skip to main content

Tasks

Tasks are used to schedule jobs to run periodically at fixed times, dates, or intervals. They typically automate maintenance, administration, and repetitive jobs and make it useful for sending periodic emails, generating documents, performing bulk updates in the database, etc.

Each task has a schedule and a routed service. The task's schedule defines the time and frequency of execution, and the routed service is a task service that is run when the task is executed.

You can specify the following type of task schedules in Altogic;

  • Running a service repetitively based on an interval of 5, 10, 15, 20, and 30 minutes, an hour or 2, 3, 4, 6, 12 hours. For example, if you choose a 10 minutes interval, the service associated with the task will be run every 10 minutes until you disable or delete the task.
  • Running a service at a specific time every day. For example, you can schedule a task that sends a reminder email to inactive users every day at 11:00 pm.
  • Running a service on selected days at a specified time every week. For example, you can schedule a task to run only on Sundays at 11:59 pm every week to prepare a weekly sales report.
  • Running a service on a selected day of the month at a specified time. For example, you can schedule a task to run the last day of the month at 2:00 am to send a monthly activity summary email to your application users.