/
Create Task (Automating Tasks)

Create Task (Automating Tasks)

Menu Path: Control Panel > Developer > Plugins > Task Scheduler > Create Task

This function is used to create the task to allow run the plugin automatically to send relevant data from EMP.


  Example for Creating Tasks
  • Specify accordingly, with reference to the task, the "Group", "Name" and "Description" of the task.
    1. Group : Billing
    2. Name : Outstanding Invoice
    3. Description : Email notification when there is any outstanding invoice.
  • Select the required job to be executed from the drop-down list under "Job". **Note that only uploaded job / task will be shown.
    1. Example: Select : plugin-wavelet-tasksched-invOutstandingDue
  • Key in the path for the selected job / task in the "Main Job Class"  - You may get this from our Support Team
  • Specify accordingly, with reference to the task, the "Group" and "Name" under "Trigger" 
    1. Trigger Group : Email notification
    2. Trigger Name : Invoice triggered
    3. Cron Script Trigger : Refer to the below

    4. Set Unscheduled Run as "NO" for it to run based on Trigger
  • Click "Create task" to confirm the settings and create the task
  • Set the Parameter with required information and then Click save
  • Lastly, load the created task into the scheduler by clicking '(Re)Load Task to scheduler now' for it to run based on Trigger Cron

For Email notification to be sent out for Plugin : Please configure it under EMP Configuration - System

 Understand the Cron Expression / Cron Scripts

Cron Expression can be automatically configured if you select the option under Trigger Con field, if you wish to set complex contrab that is not found you can contact us or find more from: http://quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger

Example for Cron Script Trigger:

CronTrigger Example 1 - an expression to create a trigger that simply fires every 5 minutes

"0 0/5 * * * ?"

CronTrigger Example 2 - an expression to create a trigger that fires every 5 minutes, at 10 seconds after the minute (i.e. 10:00:10 am, 10:05:10 am, etc.).

"10 0/5 * * * ?"

CronTrigger Example 3 - an expression to create a trigger that fires at 10:30, 11:30, 12:30, and 13:30, on every Wednesday and Friday.

"0 30 10-13 ? * WED,FRI"

CronTrigger Example 4 - an expression to create a trigger that fires every half hour between the hours of 8 am and 10 am on the 5th and 20th of every month. Note that the trigger will NOT fire at 10:00 am, just at 8:00, 8:30, 9:00 and 9:30
"0 0/30 8-9 5,20 * ?"



  Available Tasks (by File Upload)

For plugins, you can contact our Support Team and we can assist you to provide the file necessary for set up (if already exist) or program a new plugin based on your requirement (charges may apply)

Once received, you can upload the file to File Manager (Go to System Admin > File Cabinet (File Manager) ) and set Document Type as task_scheduler_job and click Upload and create the task thereafter

You can find the Audit Trail for any plugin  and its relevant parameters added to the EMP under Control Panel >System admin> Manage Users > Audit Trail Report

Related WIKI Pages: 

Found 5 search result(s) for task scheduler automate.

Page: List Task (Wavelet Management Suite)
2017-Oct-04
Page: Edit Task (Wavelet Management Suite)
2017-Oct-04



Private & Confidential