Submit Multiple Jobs at Once: -f <file>

  1. 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 
  2. Use the option -f to specify the command file, as in the following example:
    % nc run -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.