#Schedules has stopped working
3 messages · Page 1 of 1 (latest)
Schedule Troubleshooting
- Check your php version - up to 8.1 is supported
php -v - Check your crontab syntax using https://crontab.guru/ - make sure it's what you intended
- Verify the problem is with the schedule and not with the tasks you have set up (Set the first task in your schedule to something you know prints a message in the console, ie. run
say testin the console for a Minecraft server, if the text "test" shows up in the console successfully, set the first task tosay testso you know if it runs - Are your tasks off by a bit? Make sure you on the latest version of the panel? In version 1.11.5 there was a fix for schedules running at the wrong time. Alternatively, you may have the wrong timezone set. Make sure your timezones all match.
- System Timezone
timedatectl - Panel Timezone
nano /var/www/pterodactyl/.env - Wings Timezone (Passed to containers as the TZ environmental variable, unrelated to schedules but while you're checking timezones you may as well set this too)
nano /etc/pterodactyl/config.yml - Check your database where schedules are stored - MariaDB by default
systemctl status mariadb- if it's not active,journalctl -xeu mariadb- Check queue handler - Redis by default
systemctl status redis- if it's not active,journalctl -xeu redis(On some distributions the service will be namedredis-serverinstead)- Check for panel errors
tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
Hi, I have the same Problem. I did all the steps above. It didn't solve the Problem.
That's from the Debug Console of the Panel. It didn't show anything connected to cron.:
2024-01-24T08:31:23Z INFO tls cleaning storage unit {"storage": "FileStorage:/var/lib/caddy"}
2024-01-24T08:31:23Z INFO tls finished cleaning storage units
That's the Wings Console:
DEBUG: [Jan 24 09:45:12.367] sending internal activity events to Panel cron=activity subsystem=cron
DEBUG: [Jan 24 09:45:12.367] sending sftp events to Panel cron=sftp subsystem=cron
And the schedule is attached. I also checked the Database. It shows the schedule. Php is also installed on both ends. V 8.2 on the panel and 8.1 on wings.
Thank's in advance for your help.