<commit_before>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
<commit_msg>Apply the sync at 8 & 11 pm<commit_after>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

{'fraction_non_alphanumeric': 0.14306569343065692, 'fraction_numerical': 0.01897810218978102, 'mean_word_length': 4.359375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2835819', 'n_tokens_mistral': 274, 'n_tokens_neox': 259, 'n_words': 82}