use Mix.Config

unless IEx.started?() do
  config :local_ledger, LocalLedger.Scheduler,
    global: true,
    jobs: [
      cache_all_wallets: [
        schedule: "0 2 * * *",
        task: {LocalLedger.Balance, :cache_all, []},
        run_strategy: {Quantum.RunStrategy.Random, :cluster}
      ]
    ]
end
