Skip to content

Instantly share code, notes, and snippets.

@123ish
Created September 26, 2020 16:10
Show Gist options
  • Save 123ish/e6943b8c7f93a0767e9b1fbbbd1e5cea to your computer and use it in GitHub Desktop.
Save 123ish/e6943b8c7f93a0767e9b1fbbbd1e5cea to your computer and use it in GitHub Desktop.
.platform/hooks/postdeploy/01_whenever.sh
#!/bin/sh
cd /var/app/current/
sudo /opt/elasticbeanstalk/.rbenv/shims/bundle exec whenever --update-crontab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment