[2024-07-25 23:01:57] default.ERROR: 192.168.50.133 GET 192.168.50.100:8787/app/cron/admin/crontab/start?crontab_id=9
InvalidArgumentException: Crontab observer directory does not config. in /root/src/iyuuplus-dev/plugin/cron/app/model/CrontabObserver.php:26
Stack trace:
[2024-07-25 23:02:08] default.ERROR: 192.168.50.133 GET 192.168.50.100:8787/app/cron/admin/crontab/start?crontab_id=9
InvalidArgumentException: Crontab observer directory does not config. in /root/src/iyuuplus-dev/plugin/cron/app/model/CrontabObserver.php:26
Stack trace:
添加新辅种任务时,会报该错误。 OS:Fedora 39 DB: MariaDB 11.4.2 PHP: 8.3.9
logfile in runtime/logs:
[2024-07-25 23:01:57] default.ERROR: 192.168.50.133 GET 192.168.50.100:8787/app/cron/admin/crontab/start?crontab_id=9 InvalidArgumentException: Crontab observer directory does not config. in /root/src/iyuuplus-dev/plugin/cron/app/model/CrontabObserver.php:26 Stack trace:
0 /root/src/iyuuplus-dev/plugin/cron/app/admin/controller/CrontabController.php(137): plugin\cron\app\model\CrontabObserver::saveEventToDir(9, 'start')#1 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/App.php(319): plugin\cron\app\admin\controller\CrontabController->start(Object(support\Request))
2 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/App.php(349): Webman\App::Webman{closure}(Object(support\Request))
3 /root/src/iyuuplus-dev/plugin/admin/api/Middleware.php(50): Webman\App::Webman{closure}(Object(support\Request))
4 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/App.php(341): plugin\admin\api\Middleware->process(Object(support\Request), Object(Closure))
5 /root/src/iyuuplus-dev/app/middleware/SessionId.php(26): Webman\App::Webman{closure}(Object(support\Request))
6 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/App.php(341): app\middleware\SessionId->process(Object(support\Request), Object(Closure))
7 /root/src/iyuuplus-dev/app/middleware/Install.php(27): Webman\App::Webman{closure}(Object(support\Request))
8 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/App.php(341): app\middleware\Install->process(Object(support\Request), Object(Closure))
9 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/App.php(141): Webman\App::Webman{closure}(Object(support\Request))
10 /root/src/iyuuplus-dev/vendor/workerman/workerman/Connection/TcpConnection.php(646): Webman\App->onMessage(Object(Workerman\Connection\TcpConnection), Object(support\Request))
11 /root/src/iyuuplus-dev/vendor/workerman/workerman/Events/Select.php(311): Workerman\Connection\TcpConnection->baseRead(Resource id #1123)
12 /root/src/iyuuplus-dev/vendor/workerman/workerman/Worker.php(1638): Workerman\Events\Select->loop()
13 /root/src/iyuuplus-dev/vendor/workerman/workerman/Worker.php(1429): Workerman\Worker::forkOneWorkerForLinux(Object(Workerman\Worker))
14 /root/src/iyuuplus-dev/vendor/workerman/workerman/Worker.php(1403): Workerman\Worker::forkWorkersForLinux()#15 /root/src/iyuuplus-dev/vendor/workerman/workerman/Worker.php(1788): Workerman\Worker::forkWorkers()
16 /root/src/iyuuplus-dev/vendor/workerman/workerman/Worker.php(1724): Workerman\Worker::monitorWorkersForLinux()
17 /root/src/iyuuplus-dev/vendor/workerman/workerman/Worker.php(562): Workerman\Worker::monitorWorkers()
18 /root/src/iyuuplus-dev/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()
19 /root/src/iyuuplus-dev/start.php(4): support\App::run()#20 {main} [] []
[2024-07-25 23:02:08] default.ERROR: 192.168.50.133 GET 192.168.50.100:8787/app/cron/admin/crontab/start?crontab_id=9 InvalidArgumentException: Crontab observer directory does not config. in /root/src/iyuuplus-dev/plugin/cron/app/model/CrontabObserver.php:26 Stack trace: