Skip to content

Commit

Permalink
Added whenever cron update command in Makefile for redeploy-container (
Browse files Browse the repository at this point in the history
  • Loading branch information
namangupta01 authored and jywarren committed Jun 7, 2018
1 parent 5ff2e7a commit d5f24e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ redeploy-container:
rm -f ./tmp/pids/server.pid
docker-compose up -d
docker-compose exec -T web bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T web bundle exec whenever --update-crontab
docker-compose exec -T web service cron start

deploy-container:
docker-compose run web sleep 5
Expand Down

0 comments on commit d5f24e7

Please sign in to comment.