Added cronjob to Dockerfile

This commit is contained in:
Keannu Christian Bernasol 2023-10-02 01:32:03 +08:00
parent a970c4c925
commit 9515b25a7b
2 changed files with 23 additions and 1 deletions

2
cronjob Normal file
View file

@ -0,0 +1,2 @@
*/30 * * * * python /code/stude/manage.py clean_old_entries
# An empty line is required at the end of this file for a valid cron file.