It would be great if jobs was non require parameter.
I use docker and have following structure of configurations:
/etc/yacron.d/
base.yml
dev.yml
base.yml - contains all default tasks. This file store in repository, and used in production.
dev.yml - local file, which is specific for each developer.
After project installation dev.yml is empty by default, but yacron breaks without jobs section.
What I Did
ERROR:yacron:Configuration error: when expecting a mapping
found a blank string
in "/etc/yacron.d/dev.yml", line 1, column 1:
There is an issue (crdoconnor/strictyaml#33) with a library yacron uses preventing an empty config file from working. But at least you'll be able to specify just a minimal defaults section and no jobs.
Description
It would be great if jobs was non require parameter. I use docker and have following structure of configurations:
base.yml - contains all default tasks. This file store in repository, and used in production. dev.yml - local file, which is specific for each developer. After project installation dev.yml is empty by default, but yacron breaks without jobs section.
What I Did