|
|
@@ -43,8 +43,8 @@ class CrontabCommand extends Command
|
|
|
parent::__construct($socketName, $socketContext);
|
|
|
self::$argv = $argv;
|
|
|
self::$pidFile = $app->getRootPath() . 'runtime/crontab.pid';
|
|
|
- self::$logFile = $app->getRootPath() . 'runtime/log/' . date('Ymd') . '.crontab.log';
|
|
|
- self::$statisticsFile = $app->getRootPath() . 'runtime/crontab.statistics.php';
|
|
|
+ self::$logFile = $app->getRootPath() . 'runtime/log/' . date('Ymd') . '_crontab.log';
|
|
|
+ self::$statisticsFile = $app->getRootPath() . 'runtime/crontab_statistics.php';
|
|
|
}
|
|
|
|
|
|
public function setOnWorkerStart(callable $worker): void
|