Skip to content

Commit

Permalink
Fix forever restartall in certificate renew job
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Mar 30, 2017
1 parent 5d5c098 commit dee38f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/scraper_user_data
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ END
crontab -u ubuntu - <<'END'
0 */3 * * * bash -c 'cd $HOME/inspectors-general; export PYENV_ROOT=$HOME/.pyenv; export PATH=$PYENV_ROOT/bin:$PATH; eval "$(pyenv init -)"; pyenv virtualenvwrapper; workon inspectors; python igs; cd $HOME/oversight.garden; export NVM_DIR=$HOME/.nvm; source $NVM_DIR/nvm.sh; node tasks/inspectors.js --since=2016'
30 23 * * 0 bash -c 'cd $HOME/oversight.garden; source $HOME/.rvm/scripts/rvm; rake sitemap:generate && aws s3 sync $HOME/oversight.garden/public/sitemap s3://oversight-sitemap'
16 4 * * * bash -c 'cd $HOME/oversight.garden; source $HOME/.rvm/scripts/rvm; rake letsencrypt_scrapers:renew; forever restartall'
16 4 * * * bash -c 'cd $HOME/oversight.garden; source $HOME/.rvm/scripts/rvm; rake letsencrypt_scrapers:renew; export NVM_DIR=$HOME/.nvm; source $NVM_DIR/nvm.sh; forever restartall'
END

0 comments on commit dee38f3

Please sign in to comment.