LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is the cron job always running root? (https://www.linuxquestions.org/questions/linux-newbie-8/is-the-cron-job-always-running-root-932180/)

johnifanx98 03-01-2012 10:26 AM

Is the cron job always running root?
 
Can it be configured to a non-root user?

suicidaleggroll 03-01-2012 10:35 AM

Root's crontab runs as root, a user's crontab runs as that user.

peterzwicker 03-01-2012 11:07 AM

You should always take care if you run it as root, itīs better to run it as user if possible.

Regards

Peter

lithos 03-01-2012 12:00 PM

Hi

here you have a nice Cron Examples
and
another examples

This is a Cron guide.

Cedrik 03-01-2012 12:10 PM

On side note, get answer with man crontab in a few seconds ;)


All times are GMT -5. The time now is 03:11 AM.