From 2b4985330dac8326af6ed5238fe4eecf6c4f7d93 Mon Sep 17 00:00:00 2001 From: "Fabian P. Schmidt" Date: Thu, 4 Feb 2016 23:05:32 +0100 Subject: [PATCH] README: Add section about starting celery tasks manually --- README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 554df50..4ab6ae5 100644 --- a/README.md +++ b/README.md @@ -147,17 +147,20 @@ Only the command `logbook.compute` requires a running task server (celery) at th ### Available tasks -- ogn.collect.database - - `import_ddb` - Import registered devices from the ddb - - `import_file` - Import registered devices from a local file -- ogn.collect.receiver - - `update_receivers` - Populate/update receiver table -- ogn.collect.logbook - - `compute_takeoff_and_landing` - Generate TakeoffLanding table -- ogn.collect.heatmap - - `update_beacon_receiver_distance_all` - Calculate the distance between aircraft and - receiver for the last aircraft beacons +- `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 + +If the task server is up and running, tasks could be started manually. + +``` +python3 +>>>from ogn.collect.database import import_ddb +>>>import_ddb.delay() +``` ## License Licensed under the [AGPLv3](LICENSE).