Commit 82546679 authored by Johan Bloemberg's avatar Johan Bloemberg Committed by Johan Bloemberg

Add logic for periodic tasks.

parent 92dd749a
......@@ -61,6 +61,7 @@ INSTALLED_APPS = [
'django.contrib.admindocs',
'django.contrib.humanize',
'compressor',
'django_celery_beat',
# Dal removed, since we use the admin site for custom commands.
# 'dal', # django-autocomplete-light, explicitly after admin, to not interfere with admin
# 'dal_select2', # django-autocomplete-light
......@@ -407,4 +408,6 @@ ENABLE_UTC = True
CELERY_ACCEPT_CONTENT = ['pickle']
CELERY_TASK_SERIALIZER = 'pickle'
CELERY_RESULT_SERIALIZER = 'pickle'
CELERY_TIMEZONE = 'Europe/Amsterdam'
CELERY_TIMEZONE = 'UTC'
CELERYBEAT_SCHEDULER = 'django_celery_beat.schedulers:DatabaseScheduler'
......@@ -5,4 +5,9 @@ pylama
pytest-cov
pytest-django
django-coverage
django-extensions
\ No newline at end of file
django-extensions
# # dashboard for celery introspection
# # run failmap-admin celery flower
# # go to http://localhost:5555/
# celery-flower
......@@ -12,7 +12,8 @@ typing
# scanners
requests
pytz
celery # distribution, not yet used
celery
django-celery-beat
# cefpython3==57.0 # Screenshots, not reliable
Pillow # screenshots
python-resize-image # screenshots
......@@ -39,4 +40,4 @@ colorlog
# django-cachalot - Is not more efficient.
# website
django_compressor
\ No newline at end of file
django_compressor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment