mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Make crontab job run as sudo
This commit is contained in:
parent
0e41c30347
commit
5d07861c38
1 changed files with 1 additions and 1 deletions
2
cronjob
2
cronjob
|
@ -1,2 +1,2 @@
|
||||||
*/30 * * * * python /code/stude/manage.py clean_old_entries
|
*/30 * * * * sudo python /code/stude/manage.py clean_old_entries
|
||||||
# An empty line is required at the end of this file for a valid cron file.
|
# An empty line is required at the end of this file for a valid cron file.
|
||||||
|
|
Loading…
Reference in a new issue