Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Commit

Permalink
Make the crontab use the correct path and bash
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen van Baarsen <[email protected]>
  • Loading branch information
jvanbaarsen committed Oct 24, 2014
1 parent 940faf4 commit 482a9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/cookbooks/backups/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
minute "0"
hour "0"
user deploy_user
command "cd /home/#{deploy_user}/Backup && backup perform --trigger #{app}"
command "/bin/bash -l -c 'cd /home/#{deploy_user}/Backup && /usr/local/bin/backup perform --trigger #{app}'"
end
else
cron "backup_#{app}" do
Expand Down

0 comments on commit 482a9cd

Please sign in to comment.