Class \Prado\Util\Cron\TShellDbCronAction
TShellDbCronAction class.
TShellDbCronAction extends TShellCronAction to implement additional commands \Prado\Util\Cron\addTask, \Prado\Util\Cron\updateTask, and removeTask.
Class hierarchy
- \Prado\Util\Cron\TShellDbCronAction
- \Prado\Util\Cron\TShellCronAction
- \Prado\Shell\TShellAction
- \Prado\TComponent
Since: 4.2.0
public
|
actionAdd(array<string|int, mixed> $args) : mixed
adds a task to the database with its name, task id, schedule, and other properties.
|
public
|
|
public
|
actionUpdate(array<string|int, mixed> $args) : mixed
updates a task in the database by its name for its schedule, username, moduleid, and other properties.
|
public
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |