Run commands as standalone job
Description
Enable custom commands to be run as ess job.
Use-Cases
- Users can define the attribute
job
for each command in$cfg['commands']
. It can be a string or an array of stings. - When the configuration file is created, each and alias for each
job
field is created that points to a command runner job - When no
event
is given but ajob
is given, the command will not be assigned to the default event. - If the user runs the job, the command runner job will run any command assigned to this job
- Conditions apply also when in jobs, but a new helper is added that makes it possible to determine if the command is run as a job
Todo
-
Documentation updated