Make crontab job run as sudo

This commit is contained in:
Keannu Bernasol 2023-10-30 21:40:35 +08:00
parent 0e41c30347
commit 5d07861c38

View file

@ -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.