Jelajahi Sumber

change generation to every 40th minute

Nikos Atlas 8 bulan lalu
induk
melakukan
11ff4679e6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/telecaster/settings.py

+ 1 - 1
src/telecaster/settings.py

@@ -127,5 +127,5 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
 
 CRONTAB_COMMAND_PREFIX = 'PYTHONPATH=/app/src'  # Required for crontabs inside docker.
 CRONJOBS = [
-    ('*/5 * * * *', 'src.telecaster.Clients.CosmohomeClient.generate_xml_task'),
+    ('40 * * * *', 'src.telecaster.Clients.CosmohomeClient.generate_xml_task'),
 ]