summaryrefslogtreecommitdiffstats
path: root/worker/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'worker/init.sh')
-rwxr-xr-xworker/init.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/worker/init.sh b/worker/init.sh
new file mode 100755
index 0000000..ecec2a1
--- /dev/null
+++ b/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