diff options
| author | yalh76 <yalh@yahoo.com> | 2022-01-06 22:02:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 22:02:47 +0100 |
| commit | 1476f17251ea0b339390cfa5210e258342ea5a4a (patch) | |
| tree | 155293eb2bf6b881ab4bae9490440bd2125cdfec | |
| parent | 48938133ffdaf42e6d20aefe8d12ed7ed827aed7 (diff) | |
| parent | 482585648ef59fbe16e289034fcf1602f0587be5 (diff) | |
| download | mastodon_ynh-1476f17251ea0b339390cfa5210e258342ea5a4a.tar.gz mastodon_ynh-1476f17251ea0b339390cfa5210e258342ea5a4a.tar.bz2 mastodon_ynh-1476f17251ea0b339390cfa5210e258342ea5a4a.zip | |
Merge pull request #291 from Tagadda/fix-cron
Fix cron tasks
| -rw-r--r-- | conf/cron | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl media remove +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl media remove-orphans +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl accounts cull +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl statuses remove +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl preview_cards remove |
