Skip to content

Convert orgreg import to task

Andreas Ellewsen requested to merge orgreg-to-task into master

To reduce the amount of code and complexity of the service we move away from a management command triggered by a cronjob, to a task handled by django-q. Everything works the same way as before, but the management command now schedules the task instead of doing it. Introduces the ORGREG_SCHEDULE_TYPE settings variable controlling the scheduled when scheduling the import using the management command.

Merge request reports