Last active
December 27, 2023 20:54
-
-
Save JayCuthrell/cb8f8fd5ab7246a2fd50b290d455b606 to your computer and use it in GitHub Desktop.
crontab for mastodon as of Dec 2023
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL=/bin/bash | |
05 */3 * * * RAILS_ENV=production /home/mastodon/.rbenv/shims/ruby /home/mastodon/live/bin/tootctl accounts prune | |
15 */3 * * * RAILS_ENV=production /home/mastodon/.rbenv/shims/ruby /home/mastodon/live/bin/tootctl statuses remove --days 1 | |
25 */3 * * * RAILS_ENV=production /home/mastodon/.rbenv/shims/ruby /home/mastodon/live/bin/tootctl media remove --days 1 | |
35 */3 * * * RAILS_ENV=production /home/mastodon/.rbenv/shims/ruby /home/mastodon/live/bin/tootctl media remove --remove-headers --include-follows --days 0 | |
45 */3 * * * RAILS_ENV=production /home/mastodon/.rbenv/shims/ruby /home/mastodon/live/bin/tootctl preview_cards remove --days 1 | |
55 */3 * * * RAILS_ENV=production /home/mastodon/.rbenv/shims/ruby /home/mastodon/live/bin/tootctl media remove-orphans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment