From 55850ae602edb28b045d6c098edf8dc18cf535d4 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Wed, 29 Jan 2014 13:26:11 -0600 Subject: [PATCH] * adding ability to run everything within jam-web for jobs --- runadmin | 6 ++++++ runjobs | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 runadmin create mode 100755 runjobs diff --git a/runadmin b/runadmin new file mode 100755 index 000000000..648a2a9ac --- /dev/null +++ b/runadmin @@ -0,0 +1,6 @@ +#!/bin/bash + +pushd admin +# run jam-admin rails server +bundle exec rails s +popd diff --git a/runjobs b/runjobs new file mode 100755 index 000000000..babe280ff --- /dev/null +++ b/runjobs @@ -0,0 +1,6 @@ +#!/bin/bash + +pushd web +# run all_jobs rake task; this waits on new jobs from the resque queue, i.e., audiomixer, icecast, etc +bundle exec rake all_jobs +popd