Modify Scheduled Jobs

The nc modify command allows modifying fields in the scheduled jobs.

nc modify


vnc: Usage Message
  
   NC MODIFY:
          Modify scheduled jobs
  
   USAGE:
          % nc modify [OPTIONS] [jobId] ...
                                               (operate on job with that id)
          % nc modify [OPTIONS] [!] ...
                                               (operate on most recent job)
          % nc modify [OPTIONS] [-set setName] ...
                                               (operate on all jobs in setName)
          % nc modify [OPTIONS] [-selrule rule] ...
                                               (operate on all jobs selected by rule)
  
   OPTIONS:
        -h                            -- This help.
        -v                            -- Increase verbosity.
        -showfields                   -- Show fields that can be modified.
        -<FIELDNAME> <NEWVALUE>       -- Set the specified field to the
                                         specified value.
        -changegrab <RESMAP> [-]<N>   -- Change the quantity of a resourcemap 
                                         grabbed for a running job. May not
                                         combine with other options.
  
   EXAMPLES:
          % nc modify -jobclass short 0012345
          % nc modify -res License:xxx 0012345
          % nc modify -jobname superman 0012345
          % nc modify -res License:xxx -set MySet
          % nc modify -group /time/users !
          % nc modify -jpp smallest -numa pack 0012345
          % nc modify -changegrab Limit:foo -1 -selrule 'user=mary AND resources~foo'
          

wx modify


wx: Usage Message
  
   WX MODIFY:
          Modify scheduled jobs
  
   USAGE:
          % wx modify [OPTIONS] [jobId] ...
                                               (operate on job with that id)
          % wx modify [OPTIONS] [!] ...
                                               (operate on most recent job)
          % wx modify [OPTIONS] [-set setName] ...
                                               (operate on all jobs in setName)
          % wx modify [OPTIONS] [-selrule rule] ...
                                               (operate on all jobs selected by rule)
  
   OPTIONS:
        -h                            -- This help.
        -v                            -- Increase verbosity.
        -showfields                   -- Show fields that can be modified.
        -<FIELDNAME> <NEWVALUE>       -- Set the specified field to the
                                         specified value.
        -changegrab <RESMAP> [-]<N>   -- Change the quantity of a resourcemap 
                                         grabbed for a running job. May not
                                         combine with other options.
  
   EXAMPLES:
          % wx modify -jobclass short 0012345
          % wx modify -res License:xxx 0012345
          % wx modify -jobname superman 0012345
          % wx modify -res License:xxx -set MySet
          % wx modify -group /time/users !
          % wx modify -jpp smallest -numa pack 0012345
          % wx modify -changegrab Limit:foo -1 -selrule 'user=mary AND resources~foo'
          
To see a list of the fields that can be modified, use the -showfields option as shown below:
autoflow
autoforget
autokill
cmd
deadline
dir
env
fstokens
group
jobclass
jobname
jobproj
jpp
legalexit
nojournal
numa
preemptable
priority
res
res,aux
scheddate
submithost
systemjob
tool
xdur
xpriority