Page 1 of 1

Cron Job User

Posted: Tue Nov 07, 2017 8:26 am
by jollero
Hello,

Would someone what user is used by the cron when it executes a job? How do we validate what it is?

Regards,
Joseph

Re: Cron Job User

Posted: Tue Nov 07, 2017 11:44 am
by ScIT
Normaly the same user, where you set up the cronjob. Also important: Better do not run any websites under admin user, create another one.

Re: Cron Job User

Posted: Fri Nov 10, 2017 2:41 am
by jollero
Thanks for the reply. I almost missed it.

I setup the cronjob using the Vesta interface. The user is root. So I'm guessing the cron job is using root?

Your right that admin users are not a good practice.

Re: Cron Job User

Posted: Fri Nov 10, 2017 5:32 pm
by ScIT
Where do you have the cronjob created, on ssh/command line? If yes, please use the vestacp backend to create the cronjob!