diff options
Diffstat (limited to 'clean_previewcards.sh')
-rwxr-xr-x | clean_previewcards.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clean_previewcards.sh b/clean_previewcards.sh new file mode 100755 index 0000000..60c9965 --- /dev/null +++ b/clean_previewcards.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd /home/mastodon/live +PATH=/home/mastodon/bin:/home/mastodon/.local/bin:/home/mastodon/.rbenv/plugins/ruby-build/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/bin:/usr/bin:/bin +RAILS_ENV=production bin/tootctl preview-cards remove --days=14 > log/preview-cards_remove.log 2>&1 |