From 5d07861c381ed893391c68235a8b6e9890fb68eb Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 30 Oct 2023 21:40:35 +0800 Subject: [PATCH] Make crontab job run as sudo --- cronjob | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjob b/cronjob index 54e436e..f9aded8 100644 --- a/cronjob +++ b/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.