aboutsummaryrefslogtreecommitdiff
path: root/conf/cron
diff options
context:
space:
mode:
authorTagada <36127788+Tagadda@users.noreply.github.com>2025-08-29 21:43:45 +0200
committerGitHub <noreply@github.com>2025-08-29 21:43:45 +0200
commit3d53d933d5a0c50208494f754f4325fc8e333949 (patch)
tree51c433c13223f8d938c6e743693b7abe54801b7c /conf/cron
parent018c0445962016d9dac1d181cea8102ba89c075e (diff)
parentef5503503cf774afe20489df09e99922a92716e2 (diff)
downloadmastodon_ynh-3d53d933d5a0c50208494f754f4325fc8e333949.tar.gz
mastodon_ynh-3d53d933d5a0c50208494f754f4325fc8e333949.tar.bz2
mastodon_ynh-3d53d933d5a0c50208494f754f4325fc8e333949.zip
Merge pull request #511 from Thovi98/ci-auto-update-4.4.3
Convert to helpers2.1 and try to upgrade to latest version
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 02b2a6a..ca08f7f 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 __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
+@daily __APP__ cd __INSTALL_DIR__/live && PATH=__PATH_WITH_RUBY__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
+@monthly __APP__ cd __INSTALL_DIR__/live && PATH=__PATH_WITH_RUBY__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
+@monthly __APP__ cd __INSTALL_DIR__/live && PATH=__PATH_WITH_RUBY__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
+@monthly __APP__ cd __INSTALL_DIR__/live && PATH=__PATH_WITH_RUBY__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl statuses remove
+@monthly __APP__ cd __INSTALL_DIR__/live && PATH=__PATH_WITH_RUBY__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl preview_cards remove