diff options
author | doc <doc@filenotfound.org> | 2025-06-30 20:11:52 +0000 |
---|---|---|
committer | doc <doc@filenotfound.org> | 2025-06-30 20:11:52 +0000 |
commit | 41e897f4945aaf8fbcdf0b12ac2f08c5e6ae0458 (patch) | |
tree | db7c3520fd91abc3cf56b1a52095d23f3a80d059 /clean_previewcards.sh |
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 |