Issue #6, automatize harvester Phase 1
Implemented 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.