This tool manages the automatic task scheduler.
Automatic tasks automate certain actions that require periodic execution.
You can make a task periodic by entering a CRON expression in the task creation or modification form
More information here.
This button can be used to deactivate an active automatic task.
The same applies to activating a deactivated automatic task.
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.
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).
Multi-select tasks is activated by pressing the "Ctrl" key and selecting the desired tasks.
Tasks |
Job description |
Common input fields |
Field type |
Mandatory |
---|---|---|---|---|
Send a mail |
Allows you to test the sending of mail |
Sender of mail |
|
yes |
Recipient(s) mail, one per line |
|
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. |
|
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 |