set :output, { error: 'log/cron.error.log', standard: 'log/cron.log'}

# We need Rake to use our own environment
job_type :rake, "cd :path && /usr/local/bin/govuk_setenv tariff-api bundle exec rake :task --silent :output"

every :day, :at => '01:23am' do
  rake "tariff:sync:apply"
end

set :output, { error: 'log/cron.error.log', standard: 'log/cron.log'}

# We need Rake to use our own environment
job_type :rake, "cd :path && /usr/local/bin/govuk_setenv tariff-api bundle exec rake :task --silent :output"

every 1.hour do
  rake "tariff:sync:apply"
end

Revert "Only run tariff sync once a day at 01:23"
Revert "Only run tariff sync once a day at 01:23"

This reverts commit b21cac649e2907a53784fb0f15fdf8ae08441552.
