(Click to open topic with navigation)
You can use job templates in many aspects of scheduling, including Peer-Based Grid usage policies. Job templates are defined using the JOBCFG configuration parameter.
Two methods exist for applying job templates to jobs. You can use the JOBMATCHCFG parameter to mark a template that contains the criteria a job must meet for eligibility and another template as the one to be applied to the job if it is eligible. This allows you to automate the use of templates. For example, to force all interactive jobs to run on a certain set of nodes, you can set one template (the criteria template) to have the interactive flag, then give the other template the desired host list. You can also apply a template directly to a job at submission if that ability is enabled for that template.