Phase 1 of issue #6: automatize harvester
Implements the core functionality of the automatic harvesting task.
- The automatic harvesting taks is queued or dequeued according to the application parameters. See roadmap in Issue #6 description.
- The db.commit() applying the changes of the automatic harvesting is commented out.
- The python logger is used for debugging.
- The queuing or dequeuing of the automatic harvesting task is performed at web page loading. It should also be performed when the application parameters are updated by calling the start_or_stop_automatic_harvester() function in models/tasks.py.