aboutsummaryrefslogtreecommitdiffstats
path: root/script/delete-old-things
diff options
context:
space:
mode:
Diffstat (limited to 'script/delete-old-things')
-rwxr-xr-xscript/delete-old-things6
1 files changed, 2 insertions, 4 deletions
diff --git a/script/delete-old-things b/script/delete-old-things
index 063d85e1f..58c144958 100755
--- a/script/delete-old-things
+++ b/script/delete-old-things
@@ -1,6 +1,4 @@
#!/bin/bash
-cd "`dirname "$0"`"
-
-bundle exec ./runner 'PostRedirect.delete_old_post_redirects()'
-bundle exec ./runner 'TrackThingsSentEmail.delete_old_track_things_sent_email()'
+bundle exec rails runner 'PostRedirect.delete_old_post_redirects'
+bundle exec rails runner 'TrackThingsSentEmail.delete_old_track_things_sent_email'