Extract a `parseJobs` method from the binary
codepunkt opened this issue · 0 comments
codepunkt commented
Test that parsing the jobs from configuration file
- fails when file property is missing for a job
- fails when file property of a job doesnt point to an existing file
- returns an array of job objects otherwise that consist of job name, number of attempts, fn to execute and optionally a string for scheduling in crontab syntax