Good afternoon!
Please tell me, how to run a cron task from user WWW?
Thank you a lot!
how to run a cron task from user WWW?
serg211 Use Access URL
serg211 don't do this, if your cron.php write in php8, then your default php in aapanel is php7, it's not working. if you want running this, do like below
sudo /www/server/php/81/bin/php /www/wwwroot/valery.io/periodic/cron.php
or
you can do with access url
options. in type of type task. it's depend your' requitment.
serg211
Hello, try
sudo -u www xxxxxxxxxxxxxxxx