I tried searching through the forum for this but I can't find a solution. I setup crons for a user account. The crons run fine when logged in ssh as root and run as root but not user so there's some permission issue.
Here is my cron.
/usr/local/bin/php -q /home/user/domains/user.domain.com/crons/pop.php
Seems to be some kind of permissions issue with the user.
I have also tried changing the file path /usr/local/php81/bin/php81
Also just using php -q /home/user/domains/user.domain.com/crons/pop.php
Crons are enabled in the user package. Thank you for any assistance.
Here is my cron.
/usr/local/bin/php -q /home/user/domains/user.domain.com/crons/pop.php
Seems to be some kind of permissions issue with the user.
I have also tried changing the file path /usr/local/php81/bin/php81
Also just using php -q /home/user/domains/user.domain.com/crons/pop.php
Crons are enabled in the user package. Thank you for any assistance.