-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Description
Hi, normally I use "whenever" for my Rails and it will create crontab under root user. Somehow it mess with my mounted volumes and now I see my production.log suddenly was created under root user and not the usual app user.
I figure it must have been changed during log rotation. In order to fix this, I am thinking to create cron jobs under "app" user, but somehow it will not run no matter how I try.
I have tried using "whenever -u app" as well as physically "docker exec" into my container and "su app" to create a crontab under "app" user. Nothing seems to work.
If cron installed as root user, everything is fine though.
Metadata
Metadata
Assignees
Labels
No labels