File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/Crontab/Test/Unit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -378,13 +378,13 @@ public function saveTasksDataProvider(): array
378
378
],
379
379
[
380
380
'tasks ' => [
381
- ['command ' => '{magentoRoot}run.php % cron:run | grep -v "Ran \' jobs \' by schedule"$ ' ]
381
+ ['command ' => '{magentoRoot}run.php mysqldump db > db-$(date +%F).sql ' ]
382
382
],
383
383
'content ' => '* * * * * /bin/php /var/www/cron.php ' ,
384
384
'contentToSave ' => '* * * * * /bin/php /var/www/cron.php ' . PHP_EOL
385
385
. CrontabManagerInterface::TASKS_BLOCK_START . ' ' . hash ("sha256 " , BP ) . PHP_EOL
386
386
. '* * * * * ' . PHP_BINARY . ' /var/www/magento2/run.php '
387
- . ' %% cron:run | grep -v \"Ran \' jobs \' by schedule\"\$ ' . PHP_EOL
387
+ . ' mysqldump db > db-\$(date +%%F).sql ' . PHP_EOL
388
388
. CrontabManagerInterface::TASKS_BLOCK_END . ' ' . hash ("sha256 " , BP ) . PHP_EOL ,
389
389
],
390
390
];
You can’t perform that action at this time.
0 commit comments