aaP_arsentver Running cron tasks as root in the PHP context can change the rights and ownership of folders and files in the site directory. If there was an option when creating a cron task which user the task is for, that would solve the problem.
aaPanel_Kern aaP_arsentver Hello, the panel does not support this operation. But you can specify the user to execute su www -c "command"