aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-19 23:57:16 +0200
committeryalh76 <yalh@yahoo.com>2020-05-19 23:57:16 +0200
commit1977f0fff725ff589618fffc18e861b264f46891 (patch)
treeb25779c2525a1b60136039c03f1493508a9d2c74
parentc2f6661420069146b6ca6777b4acedd827863bf1 (diff)
downloadmastodon_ynh-1977f0fff725ff589618fffc18e861b264f46891.tar.gz
mastodon_ynh-1977f0fff725ff589618fffc18e861b264f46891.tar.bz2
mastodon_ynh-1977f0fff725ff589618fffc18e861b264f46891.zip
Imrpove cron
-rw-r--r--conf/cron4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/cron b/conf/cron
index af98c3c..1296c1b 100644
--- a/conf/cron
+++ b/conf/cron
@@ -1,2 +1,4 @@
-RAILS_ENV=production
@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 status remove