Skip to content

Commit

Permalink
Merge pull request #492 from alphagov/disable-crontab-by-default
Browse files Browse the repository at this point in the history
Disable the building of the crontab by default
  • Loading branch information
h-lame authored Jun 27, 2016
2 parents dd4fa9b + 825552c commit b744768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def after_install_script
# Run cron jobs only on workers, as webservers autoscale up and down.
# ${SERVER_TYPE} is pre-populated for the deploy user by the build scripts
su - deploy -c 'if [ ${SERVER_TYPE} = "worker" ] ; then cd /home/deploy/epetitions/current && bundle exec whenever -w ; else echo not running whenever ; fi'
# su - deploy -c 'if [ ${SERVER_TYPE} = "worker" ] ; then cd /home/deploy/epetitions/current && bundle exec whenever -w ; else echo not running whenever ; fi'
SCRIPT
end

Expand Down

0 comments on commit b744768

Please sign in to comment.