diff options
-rwxr-xr-x | script/alert-comment-on-request | 2 | ||||
-rwxr-xr-x | script/alert-new-response-reminders | 2 | ||||
-rwxr-xr-x | script/alert-not-clarified-request | 2 | ||||
-rwxr-xr-x | script/alert-overdue-requests | 2 | ||||
-rwxr-xr-x | script/check-recent-requests-sent | 2 | ||||
-rwxr-xr-x | script/clear-caches | 2 | ||||
-rwxr-xr-x | script/delete-old-things | 4 | ||||
-rwxr-xr-x | script/fill-database-caches | 2 | ||||
-rwxr-xr-x | script/load-exim-logs | 4 | ||||
-rwxr-xr-x | script/stop-new-responses-on-old-requests | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/script/alert-comment-on-request b/script/alert-comment-on-request index 006ba15f6..bfca2663f 100755 --- a/script/alert-comment-on-request +++ b/script/alert-comment-on-request @@ -2,6 +2,6 @@ LOC=`dirname $0` -$LOC/runner 'RequestMailer.alert_comment_on_request' +"$LOC/runner" 'RequestMailer.alert_comment_on_request' diff --git a/script/alert-new-response-reminders b/script/alert-new-response-reminders index 89ea117ab..d52381750 100755 --- a/script/alert-new-response-reminders +++ b/script/alert-new-response-reminders @@ -2,6 +2,6 @@ LOC=`dirname $0` -$LOC/runner 'RequestMailer.alert_new_response_reminders' +"$LOC/runner" 'RequestMailer.alert_new_response_reminders' diff --git a/script/alert-not-clarified-request b/script/alert-not-clarified-request index ac6636dce..bfdbeaff5 100755 --- a/script/alert-not-clarified-request +++ b/script/alert-not-clarified-request @@ -2,6 +2,6 @@ LOC=`dirname $0` -$LOC/runner 'RequestMailer.alert_not_clarified_request' +"$LOC/runner" 'RequestMailer.alert_not_clarified_request' diff --git a/script/alert-overdue-requests b/script/alert-overdue-requests index e496c569a..f6549e5b6 100755 --- a/script/alert-overdue-requests +++ b/script/alert-overdue-requests @@ -2,6 +2,6 @@ LOC=`dirname $0` -$LOC/runner 'RequestMailer.alert_overdue_requests()' +"$LOC/runner" 'RequestMailer.alert_overdue_requests()' diff --git a/script/check-recent-requests-sent b/script/check-recent-requests-sent index 351ffaaed..df5baf10a 100755 --- a/script/check-recent-requests-sent +++ b/script/check-recent-requests-sent @@ -2,7 +2,7 @@ LOC=`dirname $0` -$LOC/runner 'EximLog.check_recent_requests_have_been_sent' +"$LOC/runner" 'EximLog.check_recent_requests_have_been_sent' diff --git a/script/clear-caches b/script/clear-caches index 63e9a979d..e9438f92d 100755 --- a/script/clear-caches +++ b/script/clear-caches @@ -4,7 +4,7 @@ LOC=`dirname $0` -$LOC/runner "ActiveRecord::Base.connection.execute(\"update incoming_messages set cached_attachment_text_clipped = null, cached_main_body_text_unfolded = null, cached_main_body_text_folded = null\")" +"$LOC/runner" "ActiveRecord::Base.connection.execute(\"update incoming_messages set cached_attachment_text_clipped = null, cached_main_body_text_unfolded = null, cached_main_body_text_folded = null\")" # Remove page cache (do it in two stages so live site gets cache cleared faster) rm -fr $LOC/../old-cache diff --git a/script/delete-old-things b/script/delete-old-things index 18e802ec7..1d8cf645b 100755 --- a/script/delete-old-things +++ b/script/delete-old-things @@ -2,8 +2,8 @@ LOC=`dirname $0` -$LOC/runner 'PostRedirect.delete_old_post_redirects()' +"$LOC/runner" 'PostRedirect.delete_old_post_redirects()' -$LOC/runner 'TrackThingsSentEmail.delete_old_track_things_sent_email()' +"$LOC/runner" 'TrackThingsSentEmail.delete_old_track_things_sent_email()' diff --git a/script/fill-database-caches b/script/fill-database-caches index 306b22ff2..e6b525144 100755 --- a/script/fill-database-caches +++ b/script/fill-database-caches @@ -6,6 +6,6 @@ LOC=`dirname $0` -$LOC/runner 'IncomingMessage.find_each() { |im| print im.id.to_s + " id: main body folded:" + im.get_main_body_text_folded.size.to_s + " attachment clipped:" + im.get_attachment_text_clipped.size.to_s + "\n" }' +"$LOC/runner" 'IncomingMessage.find_each() { |im| print im.id.to_s + " id: main body folded:" + im.get_main_body_text_folded.size.to_s + " attachment clipped:" + im.get_attachment_text_clipped.size.to_s + "\n" }' diff --git a/script/load-exim-logs b/script/load-exim-logs index 4c6c57b5a..7e7f37a35 100755 --- a/script/load-exim-logs +++ b/script/load-exim-logs @@ -5,7 +5,7 @@ LOC=`dirname $0` # Specific file if specified if [ x$1 != x ] then - $LOC/runner 'EximLog.load_file("'$1'")' + "$LOC/runner" 'EximLog.load_file("'$1'")' exit fi @@ -14,7 +14,7 @@ LATEST=$( ls /var/log/exim4/exim-mainlog-* 2>/dev/null | sort | tail -3 ) for X in $LATEST do # echo "doing $X" - $LOC/runner 'EximLog.load_file("'$X'")' + "$LOC/runner" 'EximLog.load_file("'$X'")' done diff --git a/script/stop-new-responses-on-old-requests b/script/stop-new-responses-on-old-requests index ea1ff9e0f..77189cf0b 100755 --- a/script/stop-new-responses-on-old-requests +++ b/script/stop-new-responses-on-old-requests @@ -2,6 +2,6 @@ LOC=`dirname $0` -$LOC/runner 'InfoRequest.stop_new_responses_on_old_requests()' +"$LOC/runner" 'InfoRequest.stop_new_responses_on_old_requests()' |