Automatic task scheduler


  1. Add/modify/delete an automatic task
    1. Activate/deactivate an automatic task
    2. Hide completed tasks
    3. Filter tasks
    4. Make a multi-selection
    5. List of tasks to be planned
      1. Common fields for planning tasks
      2. List of tasks with non-common fields

    This tool manages the automatic task scheduler.

    Automatic tasks automate certain actions that require periodic execution.

    Add/modify/delete an automatic task

    You can make a task periodic by entering a CRON expression in the task creation or modification form
    More information here.

     

    Activate/deactivate an automatic task

    This button can be used to deactivate an active automatic task.

    The same applies to activating a deactivated automatic task.

     

    Hide completed tasks

    Completed tasks can be hidden using the orange-framed "Hide completed tasks" button.

    Once the button has been clicked, completed tasks will be hidden from the active selection.

    Filter tasks

    Available from version 4.8.0

    To display a task with a keyword, use the "Filter" field.

    Example: The keyword for the filter is "Launch". You must therefore write "Lancer" in the "Filter" field.

    The filter is activated automatically and shows only those tasks whose name contains the keyword. Here, only the "Launch" task is shown (yellow box).

    Make a multi-selection

    Multi-select tasks is activated by pressing the "Ctrl" key and selecting the desired tasks.

     

    List of tasks to be planned

    Common fields for planning tasks

     Common input fields

    Field type

    Mandatory

    Task: Select the task to be executed. Depending on the type of task selected, it may be necessary to enter one or more parameters.

    Drop-down list

    yes

    Programming: choice of programming now, at next start-up or based on a CRON expression

    Drop-down list

    yes

    Display CRON Expression field, if programming is based on a CRON expression

    Simple text

    yes

    Programmed task label

    Simple text

    yes

    Description of programmed task

    Simple text

    no

    Runtime user: select the user who will launch the task 

    Drop-down list

    no

    List of tasks with non-common fields

     Tasks

    Job description

     Common input fields

    Field type

    Mandatory

     

    Send a mail 

    Allows you to test the sending of mail

    Sender of mail

    Email

    yes

    Recipient(s) mail, one per line

    Email

    yes

    Subject of the mail

    Simple text

    yes

    Message from mail

    Textarea

    yes

    Html ? tick this box if the body of the mail is written in HTML

    Check box

    yes

    Run a script

     

    Email Enter the mail address of the person who will receive the report at the end of the run. 

    Email

    yes

    Script to run. You have the same functions as those available in the scripting tool

    Textarea

    yes

    Workspace: Ametys workspace in which to run script. The default value is "admin". This choice may influence the variables and functions available.

    Simple text

    no

    Rebuild a live site and 

    Reindexing of a site

     

    Site to be rebuilt or re-indexed

    Drop-down list

    yes

    No more classified ads

     

    Number of days: Indicate the number of days after which the classified ads will be deleted.

    Numbers

    yes

    Synchronize a collection

     

    Collection to be synchronized 

    Drop-down list

    yes

    Clearing a memory cache

     

    Hide to empty 

    Drop-down list

    yes

     

    Back to top