Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run crontab job as user instead of root #114

Open
tifeng opened this issue Jul 21, 2020 · 0 comments
Open

How to run crontab job as user instead of root #114

tifeng opened this issue Jul 21, 2020 · 0 comments

Comments

@tifeng
Copy link

tifeng commented Jul 21, 2020

Environment & Versions

  • Operating system: CentOS 3.10
  • Python: 3.6.8
  • Django:2.1.7
  • django-crontab:0.7.1

Does anybody know how to run crontab job as user instead of root?
When Crontab in linux can set specific user like this:

* * * * * [username] touch /tmp/file

But There is no way to run as a user in django-crontab.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant