...
Panel |
---|
This is a |
...
powerful feature introduced to the Wavelet Enterprise Management system beginning from version 1.7. This module allows the user to configure automated tasks such as sending e-mail notifications. This feature greatly assist higher management who are too busy and yet, wants to be alerted with business critical updates such as:
|
...
...
|
...
...
|
...
|
...
|
Plug-in scheduler
This feature allows the user to configure the scheduler to be turned on or off. This can be done under:
SYSTEM ADMIN > (EMP CONFIGURATIONS) PLUGIN
By clicking on the check-box "Yes" and confirming it by clicking "submit", the scheduler will automatically run each time the application starts.
After activating the scheduler, the user will then have the option to either start the scheduler or leave it on stand-by mode. This can be configured under:
PLUGIN > (TASK SCHEDULER) scheduler controller
The job/ task
Now that the scheduler has been activated, the user will need to specify on which tasks to perform automatically. The 2 key crucial settings in configuring the tasks can be summarized as below:
- What needs to be done?
- When should this be carried out? (Configurable by Cron scripts)
Understanding Cron scripts (You may refer this again later when you have reached the sub topic of "Creating a task" below)
The plug-in module uses cron scripts to allow user to specify when the job/ task needs to be executed. If the user did not specify anything at all, the cron script without values (seven asterisks) will be shown as below:
"*******"
The meaning of each 7 asterisks are illustrated as below:
The user must specify a value for each field. Except for the year field, these fields can contain the following:
- A number in the specified range. To run a command in May, specify 5 in the month field.
- Two numbers separated by a dash to indicate an inclusive range. To run a cron job on Tuesday through Friday, place 2-5 in the weekday field.
- A list of numbers separated by commas. To run a command on the first and last day of January, you would specify 1,31 in the day_of_month field.
- A combination of two numbers separated by a dash to indicate an inclusive range and a list of numbers separated by commas can be used in conjunction. To run a command on the first, tenth to sixteenth and last day of January, you would specify 1,10-16,31 in the day_of_month field. The above two points can also be used in combination.
- An * (asterisk), meaning all allowed values. To run a job every hour, specify an asterisk in the hour field.
Note: Any character preceded by a backslash (including the %) causes that character to be treated literally. The specification of days may be made by two fields (day of the month and day of the week). If you specify both as a list of elements, both are adhered to. For example, the following entry:
0 0 1,15 * 1 ?
would run command on the first and fifteenth days of each month, as well as every Monday. To specify days by only one field, the other field should contain an * .
See: http://quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger
Certain tasks are already in the Job files, and the Job Files are available here for download.
To upload the job files into your Wavelet EMP system, the user will need to perform the below procedures:
1) Download the job/ task files here
2) Goto SYSTEM ADMIN > FILE CABINET > FILE MANAGER
3) Select the target folder as "/files" and add the downloaded file/s individually (if more than 1 job/ task) is required to be uploaded.
4) Describe each job/ file accordingly under "File Description" and select Document Type to be "task_scheduler_job" for each job/ task that needs to be uploaded.
5) Click "Upload File"
...
Page Tree | ||
---|---|---|
|