Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ShellInterface $shell, Filesystem $filesystem) | |
getTasks () | |
saveTasks (array $tasks) | |
removeTasks () | |
Additional Inherited Members | |
![]() | |
const | TASKS_BLOCK_START = '#~ MAGENTO START' |
const | TASKS_BLOCK_END = '#~ MAGENTO END' |
Manager works with cron tasks
Definition at line 18 of file CrontabManager.php.
__construct | ( | ShellInterface | $shell, |
Filesystem | $filesystem | ||
) |
ShellInterface | $shell | |
Filesystem | $filesystem |
Definition at line 34 of file CrontabManager.php.
getTasks | ( | ) |
{#- Get list of Magento Tasks
LocalizedException |
Implements CrontabManagerInterface.
Definition at line 69 of file CrontabManager.php.
removeTasks | ( | ) |
{Remove Magento Tasks form crontab
LocalizedException |
LocalizedException |
Implements CrontabManagerInterface.
Definition at line 124 of file CrontabManager.php.
saveTasks | ( | array | $tasks | ) |
{Save Magento Tasks to crontab
array | $tasks |
LocalizedException |
Implements CrontabManagerInterface.
Definition at line 87 of file CrontabManager.php.