Imanol
October 5, 2024, 7:33pm
1
Hello,
I have already set a cron job in my cPanel and configured 60 days as period of inactivity. However, pilot states are not changing. This is what I have in settings:
Quote
/usr/local/bin/ea-php82 -q /home2/skyjetv3/phpvms/artisan schedule:run
Thanks in advance.
Are you using the cron thru your hosting or are you using the web cron?
https://docs.phpvms.net/installation/cron
Imanol
October 5, 2024, 10:42pm
3
Hi I added that line in Cronjobs. I don’t know how to set the web cron.
If you go to admin, maintenance - what info is shown under CRON?
For your hosting, what access panel is used? cPanel, etc.
Best way to understand this is checking the cron log , they are placed alongside with your laravel logs under storage/logs folder.
If it is not there, or there but nothing in it are clear signs of cron problems (95% hosting limitations, 5% user error / server misconfiguration)
And if it is running properly, you may need to wait until UTC midnight, (nightly cron) for user checks (active / leave switch)
Good luck
For mine, I just entered what is under CRON - starting with “/opt…” - into the area you show at the bottom of your post.
And make sure Web Cron is disabled.