aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authormagikcypress <cyp@rouquin.me>2017-04-15 01:56:09 +0200
committermagikcypress <cyp@rouquin.me>2017-04-15 01:56:09 +0200
commit4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d (patch)
treea1115d71b9816f1f7e7341536d42585753bf2a71 /conf
parent4045dfd749e1ff7ed83cccff1a03d9937601cdd8 (diff)
downloadmastodon_ynh-4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d.tar.gz
mastodon_ynh-4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d.tar.bz2
mastodon_ynh-4ff6c990ccdf7a1085a8b91c09e3dfe36c02967d.zip
[fix] Update crontab
Diffstat (limited to 'conf')
-rw-r--r--conf/crontab_mastodon7
1 files changed, 4 insertions, 3 deletions
diff --git a/conf/crontab_mastodon b/conf/crontab_mastodon
index 972cc3c..f6794fb 100644
--- a/conf/crontab_mastodon
+++ b/conf/crontab_mastodon
@@ -1,3 +1,4 @@
-@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
+@daily __APP__ cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:media:clear
+@daily __APP__ cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:push:refresh
+@daily __APP__ cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:feeds:clear
+@daily __APP__ cd /opt/__APP__/live && RAILS_ENV=production /opt/__APP__/.rbenv/shims/bundle exec rake mastodon:users:clear \ No newline at end of file