Currently all ingestion jobs run on the same schedule. This isn't practical as some document repositories might be expensive to access and or are not updated frequently and it doesn't scale.
This feature introduces the ability to schedule an ingestion job at a regular interval. The schedule should be expressible in a unix cron format.
Acceptance Criteria
- An endpoint for scheduling. This will be
/v1/tasks. It should accept POST, PUT, GET, DELETE
- Introduce RBAC policy to allow for creating tasks. The RBAC resource id is in the format
tasks/*