From 4a7939adfbc238d3a6710635e81ccb808cfa403d Mon Sep 17 00:00:00 2001 From: tianyi Date: Mon, 29 Apr 2024 15:09:40 +0000 Subject: [PATCH] changed interval --- backend/tianyi/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tianyi/settings.py b/backend/tianyi/settings.py index 4eee04b..3ab0cc5 100644 --- a/backend/tianyi/settings.py +++ b/backend/tianyi/settings.py @@ -125,5 +125,5 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' # Crontab settings CRONJOBS = [ - ('* * * * *', 'randpic.update_pics.update_pictures', '>> /home/tianyi/repos/TianyiMoe/backend/logs/crontab.log') + ('*/10 * * * *', 'randpic.update_pics.update_pictures', '>> /home/tianyi/repos/TianyiMoe/backend/logs/crontab.log') ] \ No newline at end of file