jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Cron task was scheduled as host user, not job user #215

Closed Huron closed 8 years ago

Huron commented 8 years ago

User in host parameters is root. User in job parameters is www-data. But task was added into root's crontab.

minicron 0.9.2

jamesrwhite commented 8 years ago

Since v0.9.0 a job no longer has a user attcahed to it as it is now placed in the user crontab for the host user (see #180).

If you still want to replicate the previous behaviour of having a separate user for the job/user you use the su command to run your job as another user.

jamesrwhite commented 8 years ago

Closing this, feel free to re-open if you still have questions.