diff --git a/README.md b/README.md index 4ab6ae5..23b9e0b 100644 --- a/README.md +++ b/README.md @@ -151,8 +151,8 @@ Only the command `logbook.compute` requires a running task server (celery) at th - `ogn.collect.database.import_ddb` - Import registered devices from the ddb - `ogn.collect.database.import_file` - Import registered devices from a local file - `ogn.collect.heatmap.update_beacon_receiver_distance_all` - Calculate the distance between aircraft and receiver for the last aircraft beacons -- `ogn.collect.receiver.update_receivers` - Populate/update receiver table -- `ogn.collect.logbook.compute_takeoff_and_landing` - Generate TakeoffLanding table +- `ogn.collect.receiver.update_receivers` - Populate/update receiver table (requires postgresql-backend) +- `ogn.collect.logbook.compute_takeoff_and_landing` - Generate TakeoffLanding table (requires postgresql-backend) If the task server is up and running, tasks could be started manually. diff --git a/config/default.py b/config/default.py index 94cbcf6..5ef98b6 100644 --- a/config/default.py +++ b/config/default.py @@ -15,14 +15,15 @@ CELERYBEAT_SCHEDULE = { 'task': 'ogn.collect.heatmap.update_beacon_receiver_distance_all', 'schedule': timedelta(minutes=5), }, - 'update-logbook': { - 'task': 'ogn.collect.logbook.compute_takeoff_and_landing', - 'schedule': timedelta(minutes=15), - }, - 'update-receiver-table': { - 'task': 'ogn.collect.receiver.update_receivers', - 'schedule': timedelta(minutes=5), - }, +# Only supported with postgresql backend +# 'update-logbook': { +# 'task': 'ogn.collect.logbook.compute_takeoff_and_landing', +# 'schedule': timedelta(minutes=15), +# }, +# 'update-receiver-table': { +# 'task': 'ogn.collect.receiver.update_receivers', +# 'schedule': timedelta(minutes=5), +# }, } CELERY_TIMEZONE = 'UTC'