the job configuration
runner options
OptionalconfigDir?: stringConfiguration directory where ./jobs and ./scripts are located.
Defaults to ./config
Optionalgid?: stringDefault user used to create files and dirs
OptionallogDir?: stringDirectory where job logs and job file history is stored
Defaults to {os.homedir}/config
Optionalshell?: string | booleanDefault shell to use for exec jobs. Can be false (no shell used, direct os calls), true (use default os shell), or a specific
shell like /bin/sh or /bin/bash. Default is false
Optionalsource2Root?: stringSecond root directory for job sources. Can be access in job config via dir: "$2/my_source_dir"
Defaults to ./
Optionalsource3Root?: stringThird root directory for job sources. Can be access in job config via dir: "$3/my_source_dir"
Defaults to ./
OptionalsourceRoot?: stringDefault root directory for job sources. Can also be accessed in job source config via dir: "$1/my_source_dir"
Defaults to ./
Optionaltarget2Root?: stringSecond root directory for job targets. Can also be access in job config via dir: "$2/my_target_dir"
Defaults to ./
Optionaltarget3Root?: stringThird root directory for job targets. Can also be access in job config via dir: "$3/my_target_dir"
Default is ./
OptionaltargetRoot?: stringDefault root directory for job targets. Can also be access in job config via dir: "$1/my_target_dir"
Defaults to ./
OptionaltempDir?: stringTemporary directory used as target directory when running jobs in dry_run mode. Defaults to {os.tempdir}/cronops
Optionaluid?: stringDefault user used to create files and dirs. no default
the created JobRunner instance
Creates a
JobRunnerinstance to schedule or execute a single job