Submit Multiple Jobs
When a list of similar jobs is to be submitted, it is much more efficient to submit them all at once.
- Prepare a file with one command on each line. Empty lines are ignored and lines
that begin with # are considered comments.
# Example of file used to submit multiple jobs at once. sleep 10 sleep 11 sleep 12 sleep 13
- Use the option -f to specify the command file, as in the following
example:
% nc run -r unix -e BASE -f commandFile
All jobs submitted with this method share the same environment, the same resources, and are scheduled at the same priority level. Each job has its own ID.