脚本内容写的:
su www
php /www/wwwroot/pan/cron.php
但是 执行之后查看日志 说的是
This account is currently not available.
Console has to be executed with the same user as the web server is operated
Current user: root
Web server user: www
----------------------------------------------------------------------------
★[2021-09-18 23:30:01] Successful
---------------------------------------------------------------------------- |