Skip to content

Instantly share code, notes, and snippets.

@d6rkaiz d6rkaiz/
Created Sep 20, 2017

What would you like to do?
export RBENV_ROOT=$HOME/.rbenv
export PATH=/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/bin:/usr/local/bin:/usr/bin:/bin
export RAILS_ENV=production
cd /home/mastodon/live && bundle exec rake mastodon:media:remove_remote
# m h dom mon dow command
50 8,18 * * * bash $HOME/bin/ 2>&1 | logger -t mastodon_cronjob

This comment has been minimized.

Copy link
Owner Author

commented Sep 20, 2017

その後crontab -eを実行してcrontabに書かれた内容を参考に記入


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.