Skip to content

Commit

Permalink
cron-ish jobs for checking ppr
Browse files Browse the repository at this point in the history
  • Loading branch information
brianflanagan committed Jan 14, 2025
1 parent 5d05853 commit 282ebed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]

# config :ppr_api, PprApi.Scheduler,
# jobs: [
# {"* * * * *", {PprApi.Fetches, :fetch_latest_sales, []}},
# {"0 1 * * 6", {PprApi.Fetches, :fetch_all_sales, [true]}}
# ]
config :ppr_api, PprApi.Scheduler,
jobs: [
{"* * * * *", {PprApi.Fetches, :fetch_latest_sales, []}},
{"0 1 * * 6", {PprApi.Fetches, :fetch_all_sales, [true]}}
]

config :ex_cldr, PprApi.Cldr,
default_locale: "en",
Expand Down

0 comments on commit 282ebed

Please sign in to comment.