Managing scheduled tasks

139 views 0

How to add and edit scheduled tasks.

Overview

You can view and manage all your scheduled taks under Settings > Scheduled tasks settings.

Scheduled tasks

Image 1: List of scheduled tasks.

Adding and editing scheduled tasks

  1. To add a new task, go to Settings > Scheduled tasks settings and select Add customization task in the upper-left corner.
  2. To edit a task, just click on the task you want to edit.
  3. Define the task settings:
    1. Task name should be set to describe the task’s purpose in short and in human readable manner.
    2. Class name refers to the class name of the plugin that will handle the task. The referenced plugin must be existing and enabled.
    3. Task can be set not to be executed on weekends or holidays.
    4. Two task types are available:
      • Periodic is executed repeatedly in the defined interval in seconds.
      • Cron provides more flexibility and has some predefined options (Daily, Hourly, Every minute, Every five minutes). The Advanced option can also be used to define custom intervals. Standard Cron syntax is used (https://en.wikipedia.org/wiki/Cron).

    Cron task settings

    Image 2: Cron task settings.

Managing scheduled tasks

  1. Tasks are managed with the action buttons at the top of the task list. To execute the desired operation, check desired task(s) and press the required action button.
    1. Pause suppresses the task’s execution until started again.
    2. Run now/Resume will set next run time of the task to current time. For Periodic tasks, this will force the system to execute it now. For Cron type tasks, this option makes the task active again, but it is executed according to the defined Cron schedule.
    3. Delete removes the task.

    Action buttons

    Image 3: Action buttons.

Was this helpful?