quantum-elixir / quantum-core

:watch: Cron-like job scheduler for Elixir
https://hexdocs.pm/quantum/
Apache License 2.0
2.3k stars 147 forks source link

Support setting job `state` in scheduler's config #463

Closed pnezis closed 3 years ago

pnezis commented 3 years ago

Currently job state cannot be set through config. This is useful if we wish to start with jobs deactivated and activate them on runtime.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build bb262aafaa70b3f8e41d346047251c467c9d7325-PR-463


Files with Coverage Reduction New Missed Lines %
lib/quantum/date_library.ex 1 55.0%
lib/quantum/job.ex 1 94.12%
test/support/test_storage.ex 1 88.89%
lib/quantum/executor.ex 2 89.66%
lib/quantum/execution_broadcaster.ex 24 41.38%
<!-- Total: 29 -->
Totals Coverage Status
Change from base Build b46f60e1057a8c9e86457a58eca0ff0e4db6ff43: -7.1%
Covered Lines: 284
Relevant Lines: 361

💛 - Coveralls
maennchen commented 3 years ago

@pnezis Thanks a lot! ❤️