aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-06 01:10:38 +0100
committeryalh76 <yalh@yahoo.com>2021-03-06 01:10:38 +0100
commit5ce2a24649e12a087ce2a424d418262b1425ffb5 (patch)
tree0fa0cbd72a0d25502f6308e30923fdc437ad28be /conf
parent1d258ddb722f29159e506c1c4fd8a8bc052afe89 (diff)
downloadmastodon_ynh-5ce2a24649e12a087ce2a424d418262b1425ffb5.tar.gz
mastodon_ynh-5ce2a24649e12a087ce2a424d418262b1425ffb5.tar.bz2
mastodon_ynh-5ce2a24649e12a087ce2a424d418262b1425ffb5.zip
ynh_ruby_3
Diffstat (limited to 'conf')
-rw-r--r--conf/cron10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/cron b/conf/cron
index 776808b..a15c428 100644
--- a/conf/cron
+++ b/conf/cron
@@ -1,5 +1,5 @@
-@daily cd __FINAL_PATH__/live && RAILS_ENV=production bin/tootctl media remove
-@monthly cd __FINAL_PATH__/live && RAILS_ENV=production bin/tootctl media remove-orphans
-@monthly cd __FINAL_PATH__/live && RAILS_ENV=production bin/tootctl accounts cull
-@monthly cd __FINAL_PATH__/live && RAILS_ENV=production bin/tootctl statuses remove
-@monthly cd __FINAL_PATH__/live && RAILS_ENV=production bin/tootctl preview_cards remove
+@daily cd __FINAL_PATH__/live && RAILS_ENV=production __RUBY_PATH__/tootctl media remove
+@monthly cd __FINAL_PATH__/live && RAILS_ENV=production __RUBY_PATH__/tootctl media remove-orphans
+@monthly cd __FINAL_PATH__/live && RAILS_ENV=production __RUBY_PATH__/tootctl accounts cull
+@monthly cd __FINAL_PATH__/live && RAILS_ENV=production __RUBY_PATH__/tootctl statuses remove
+@monthly cd __FINAL_PATH__/live && RAILS_ENV=production __RUBY_PATH__/tootctl preview_cards remove