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. If a "falsy" value is returned, the CronTaskController will assume the CronTask is disabled.

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. If a "falsy" value is returned, the CronTaskController will assume the CronTask is disabled.

Return Value

string

void process()

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

Return Value

void