I'm encountering an unexpected error when running scheduled jobs in WHMCS. The initial setup of the scheduler appears to be fine. The log output confirms the successful registration of the jobs:
2023-07-22T21:45:27.903+02:00 scheduler.go:34 ▶ NOTICE New job registered "whmcs-2" - "/usr/local/bin/php -q /opt/whmcs_folders/crons/cron.php" - "@daily"
2023-07-22T21:45:27.904+02:00 scheduler.go:34 ▶ NOTICE New job registered "whmcs-1" - "/usr/local/bin/php -q /opt/whmcs_folders/crons/cron.php" - "@every 5m"
2023-07-22T21:45:27.904+02:00 scheduler.go:54 ▶ DEBUG Starting scheduler with 2 jobs
However, after 5 minutes, an error occurs when the job "whmcs-1" attempts to run:
Hello,
I'm encountering an unexpected error when running scheduled jobs in WHMCS. The initial setup of the scheduler appears to be fine. The log output confirms the successful registration of the jobs:
However, after 5 minutes, an error occurs when the job "whmcs-1" attempts to run:
Here's a snippet from my docker-compose file which outlines the related services:
I'm not certain what is causing this issue. Any assistance or guidance would be greatly appreciated.
Please let me know if you need more information or if I've missed any details.