Define Jobclasses
This VOV_JOB_DESC data structure is an associative array that describes the characteristics of a job. The array has a number of slots that hold the values describing the job. The following table shows the array slot fields.
- Field in Array
- Description
- autokill
- Set the autokill flag (option
-kill
) - check,directory
- Set it to 0 to disable checking of canonicalization of current directory
(option
-D
) - env
- Environment of the job (option
-e
). Set this to "" or to DEFAULT to force the use of an environment snapshot. - force
- Force the job to be rescheduled (option
-F
) - group
- Group the job belongs to (option
-g
) - group,final
- Group the job belongs to including the user subgroup (option
-G
) - inputs
- List of input files (dependencies) (option
-i
) - interactive,flag
- Used for interactive jobs, with values
tty_remote
(option-Ir
) ortty_local
(option-Il
) - interactive, useXdisplay
- Set if the job requires an X display (option
-Ix
) - logfile
- Name of the log file (option
-l
) - mailuser
- Specification of who gets the e-mail notification (option
-M
) - osgroup
- The UNIX group this job. This field is read-only and cannot be changed (see also user)
- outputs
- List of output files (option
-o
) - preemptable
- A suggestion to determine if the job is preemptable
- priority, default
- Default priority (NOT USED)
- priority, exec
- Execution priority
- priority, sched
- Scheduling priority
- proplist
- Properties to be added to the job (option
-P
) - resources
- The resources of the job (option
-r
) - rundir
- The running directory for the job (normally)
- schedule, date
- NOT SUPPORTED YET
- setName
- The set to which the job belongs (option
-set
) - user
- The user for this job. This field is read-only and cannot be changed (see also osgroup)
- wait
- Boolean: set it to
1
to wait for the job to complete (option-w
) - wait,options
- When waiting, these options are passed to the nc wait
command. For example, set it to
-l
to view the log file - wrapper
- Wrapper used for the job (option
-wrapper
) - xdur
- Expected duration of the job (option
-X
)
VOV_JOB_DESC(autoforget) = 0
VOV_JOB_DESC(autokill) = 1
VOV_JOB_DESC(check,directory) = 1
VOV_JOB_DESC(env) = BASE+RTSIM
VOV_JOB_DESC(force) = 0
VOV_JOB_DESC(group) = users
VOV_JOB_DESC(inputs) =
VOV_JOB_DESC(interactive,flag) = none
VOV_JOB_DESC(interactive,useXdisplay) = 0
VOV_JOB_DESC(logfile) = vnc_logs/20050920/131409.25563
VOV_JOB_DESC(mailuser) =
VOV_JOB_DESC(osgroup) = guests
VOV_JOB_DESC(outputs) =
VOV_JOB_DESC(priority,default) = 4
VOV_JOB_DESC(priority,exec) = 4
VOV_JOB_DESC(priority,sched) = 8
VOV_JOB_DESC(proplist) =
VOV_JOB_DESC(resources) = linux
VOV_JOB_DESC(rundir) = .
VOV_JOB_DESC(schedule,date) = 0
VOV_JOB_DESC(setName) =
VOV_JOB_DESC(user) = mary
VOV_JOB_DESC(wait) = 0
VOV_JOB_DESC(wait,options) =
VOV_JOB_DESC(wrapper) = vw
VOV_JOB_DESC(xdur) = 30