From 1977f0fff725ff589618fffc18e861b264f46891 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 19 May 2020 23:57:16 +0200 Subject: [PATCH] Imrpove cron --- conf/cron | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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