Skip to content

Instantly share code, notes, and snippets.

@ziazek
Created June 5, 2017 03:35
Show Gist options
  • Select an option

  • Save ziazek/850ad7bdf920cb0aebddd9cd7609dd52 to your computer and use it in GitHub Desktop.

Select an option

Save ziazek/850ad7bdf920cb0aebddd9cd7609dd52 to your computer and use it in GitHub Desktop.
config/schedule.rb
# ensure that cron's path is the same as your current one
env :PATH, ENV['PATH']
every 1.hour do
command "backup perform -t deploy_phoenix_prod_backup"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment