summaryrefslogtreecommitdiffstats
path: root/dashboard/worker/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/worker/init.sh')
-rwxr-xr-xdashboard/worker/init.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dashboard/worker/init.sh b/dashboard/worker/init.sh
new file mode 100755
index 0000000..ecec2a1
--- /dev/null
+++ b/dashboard/worker/init.sh
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+##############################################################################
+# Copyright (c) 2018 Trevor Bramwell and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+celery -A pharos_dashboard worker -l info -B --schedule=~/celerybeat-schedule