SilverStripe\CronTask\Interfaces\CronTask
By implementing this interface a /dev/cron will be able to start in on the expression that you return frmo getSchedule();
Synopsis
Methods
public
- getSchedule()
— Return a string for a CRON expression. If a "falsy" value is returned, the CronTaskController will assume the CronTask is disabled.
- process()
— When this script is supposed to run the CronTaskController will execute process().