diff options
| author | yalh76 <yalh@yahoo.com> | 2020-06-03 20:46:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-03 20:46:14 +0200 |
| commit | df0587009fbad43a6e083da2883707f421d7a36e (patch) | |
| tree | b93e9ffb74da537fc74a0a35541cfab943dd8d3d /conf/cron | |
| parent | ee08de04d42a5e9831f500242bd99d4cb63fbd19 (diff) | |
| parent | 8fea96dcd81f40923ba2f599c3b7ab838429f2de (diff) | |
| download | mastodon_ynh-df0587009fbad43a6e083da2883707f421d7a36e.tar.gz mastodon_ynh-df0587009fbad43a6e083da2883707f421d7a36e.tar.bz2 mastodon_ynh-df0587009fbad43a6e083da2883707f421d7a36e.zip | |
Merge pull request #224 from YunoHost-Apps/cleaning
Cleaning
Diffstat (limited to 'conf/cron')
| -rw-r--r-- | conf/cron | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,2 +1,5 @@ -RAILS_ENV=production -@daily cd __FINAL__PATH__/live && /opt/rbenv/versions/2.6.5/bin/bundle exec rake __USER__:media:remove_remote +@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 |
