```ruby
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
```

Apply the sync at 8 & 11 pm
user
```ruby
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.day, at: "8:00 pm" do
  rake "tariff:sync:apply"
end

every 1.day, at: "11:00 pm" do
  rake "tariff:sync:apply"
end
```
assistant