Skip to content

Implement Cronplus.get

Sandor Semsey requested to merge (removed):semseysandor-2.x-patch-91924 into 2.x

Implement Cronplus.get API

If no params are given, it returns all jobs (id + cron-def). If a specific job_id is given it returns cron definition only for that job, if no job was found with that id it returns empty results.

Use-case

Check current config on CLI: cv api Cronplus.get job_id=1, then only update if it's different than expected.

Edited by Sandor Semsey

Merge request reports