__construct() __construct(\Db_Table_Row_ScheduledTask $task = null) Create instance of task for scheduler Parameters \Db_Table_Row_ScheduledTask $task null for new task
setArguments() setArguments(array $arguments) Set arguments of command to be executed Parameters array $arguments
getSchedule() getSchedule() : array Return schedule of task in associated array format Returns array — Associated array with keys minute, hour, dom, month, dow
setSchedule() setSchedule(array $schedule) Schedules task to be executed at specified moment [ 'minute' => '*', 'hour' => '*', 'dom' => '*', 'month' => '*', 'dow' => '*', ] Parameters array $schedule Associated array with keys minute, hour, dom, month, dow