Hello
I don't create a user account and I only use the root account.
However, I have a question about setting up Cron because I need to use a specific module.
I'm guiding you on how to use it for users like me.
If the Cron execution permission and the web execution permission are different
If you can use sudo in Linux, set up crontab in the following way.
If the web execution user is www-data
0 * * * * cd /[Home root]/modules/hotopay && sudo -u www-data php htpay.cron.php > /[Log storage root]/htpay_cron$(date +\%Y\%m\%d\%H\%M\%S).log 2>&1
It says that it should be set to this.
How should I apply the above code to the Cron of aapanel?