Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * Event handler for Scheduler tasks Events. 
 */
Interface
{     /**
       * Called when job is about to be executed.If this returns false, CF will veto the job and wont execute it
       */
    public boolean function onTaskStart(Struct context);
    
    /**
     * Called once execution of the task is over
     */
    public void function onTaskEnd(Struct context);
 
   /**
     * Called when a task gets misfired
     */
    public void function onMisfire(Struct context);
    
    /**
     * Called when a task throws an runtime exception
     */
    public void function onError(Struct context);
 
    /**
     * Called when URL is not specified.Instead this method will be invoked on scheduled times
     */
    public void function execute();
}