The cronjob is under cwp's user. But the process has never run. No emails come to the inbox as it should be.
So, I tried to login to SSH as root and run that cronjob, and it gave the error permission denied.
If I run it with sudo, it works, and the email goes to the inbox.
That is why I want to know, is PHP cron job just allowed to run under root and not user?
Thanks.