aboutsummaryrefslogtreecommitdiff
path: root/conf/crontab_mastodon
diff options
context:
space:
mode:
authormagikcypress <cyp@rouquin.me>2017-04-08 04:04:27 +0200
committermagikcypress <cyp@rouquin.me>2017-04-08 04:04:27 +0200
commitdab2e3571a3afc33795fa54fef57f10243522f90 (patch)
tree45185c425033f44c333d66291b5eeb5420d86e49 /conf/crontab_mastodon
downloadmastodon_ynh-dab2e3571a3afc33795fa54fef57f10243522f90.tar.gz
mastodon_ynh-dab2e3571a3afc33795fa54fef57f10243522f90.tar.bz2
mastodon_ynh-dab2e3571a3afc33795fa54fef57f10243522f90.zip
Initial commit
Diffstat (limited to 'conf/crontab_mastodon')
-rw-r--r--conf/crontab_mastodon3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/crontab_mastodon b/conf/crontab_mastodon
new file mode 100644
index 0000000..972cc3c
--- /dev/null
+++ b/conf/crontab_mastodon
@@ -0,0 +1,3 @@
+@hourly cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:media:clear
+@hourly cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:push:refresh
+@hourly cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:feeds:clear \ No newline at end of file