Set pilots on leave

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

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.

 this is what I have

 

PHPVMS 7

 

img001.png.b92caea5fc53e471bdd88a9d49191d63.png

 

 

cPanel

 

img002.png.644c0862eafaf2f4982e60bf01d298bc.png

 

 

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.