aboutsummaryrefslogtreecommitdiffstats
path: root/script/stop-new-responses-on-old-requests
diff options
context:
space:
mode:
Diffstat (limited to 'script/stop-new-responses-on-old-requests')
-rwxr-xr-xscript/stop-new-responses-on-old-requests3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/stop-new-responses-on-old-requests b/script/stop-new-responses-on-old-requests
index f317f11ff..07257d6b2 100755
--- a/script/stop-new-responses-on-old-requests
+++ b/script/stop-new-responses-on-old-requests
@@ -1,3 +1,4 @@
#!/bin/bash
-
+TOP_DIR="$(dirname "$BASH_SOURCE")/.."
+cd "$TOP_DIR"
bundle exec rails runner 'InfoRequest.stop_new_responses_on_old_requests'