interface CronTask (View source)

By implementing this interface a /dev/cron will be able to start in on the expression that you return frmo getSchedule();

Methods

public
string
getSchedule()

Return a string for a CRON expression

public
void
process()

When this script is supposed to run the CronTaskController will execute process().

Details

string getSchedule()

Return a string for a CRON expression

Return Value

string

void process()

When this script is supposed to run the CronTaskController will execute process().

Return Value

void