This command may be used during long computations since the scheduler is not preemptive. Note, this command can cause arbitrary side effects and should be used with care. The job wait command blocks until all existing jobs have been finished. The command will wait infinitely if there is at least one job left. Events are processed while waiting for the jobs to finish which can have arbitrary side effects.
Every job is represented by a job object command which allows to manipulate the job.
If called without any arguments, all existing attribute names for this job will be returned. If called with a name argument, the current value of the attribute will be returned. Nonexisting attributes do not produce an error. Instead, an empty string is returned. Calling the option with a name and a value causes the value to be saved in the job attribute.