aboutsummaryrefslogtreecommitdiff
path: root/conf/cron
diff options
context:
space:
mode:
authorSalamandar <6552989+Salamandar@users.noreply.github.com>2024-05-27 14:56:29 +0200
committerGitHub <noreply@github.com>2024-05-27 14:56:29 +0200
commit8003baea29c5a5679c7475078ef16263e911b116 (patch)
treecf5d2bb10ddb7e32b53ba0de888007b6f8341782 /conf/cron
parenta75e6726bca8d3b8a076da4164cd7a18ed29d06e (diff)
parent7727e250c3c616bc59c311f20ec6d3e7f773d5da (diff)
downloadmastodon_ynh-8003baea29c5a5679c7475078ef16263e911b116.tar.gz
mastodon_ynh-8003baea29c5a5679c7475078ef16263e911b116.tar.bz2
mastodon_ynh-8003baea29c5a5679c7475078ef16263e911b116.zip
Merge pull request #449 from YunoHost-Apps/testing
Testing Packaging v2
Diffstat (limited to 'conf/cron')
-rw-r--r--conf/cron10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/cron b/conf/cron
index 339d3c4..02b2a6a 100644
--- a/conf/cron
+++ b/conf/cron
@@ -1,7 +1,7 @@
# This is a system cron file, see crontab(5)
# m h dom mon dow user command
-@daily __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
-@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
-@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
-@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl statuses remove
-@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl preview_cards remove
+@daily __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
+@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
+@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
+@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl statuses remove
+@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl preview_cards remove