Velocity Scheduler

2.3.1 Example 1

Example 1: Serial Batch Job

REM Keywords for CCS
REM CCS account = userid
REM CCS type = batch
REM CCS nodes = 1
REM CCS minutes = 10
REM CCS requirements = 1@development

REM Windows commands
REM Put your executable and data files on the local drive
cd /D T:\
del /Q T:\%USERNAME% mkdir %USERNAME% cd %USERNAME% copy \\tc.cornell.edu\tc\users\%USERNAME%\quick.exe quick.exe 1>quick.out 2>quick.err copy quick.* \\tc.cornell.edu\tc\users\%USERNAME% REM Clean the T: drive; if it fills, subsequent jobs will fail REM /S to delete files from subfolders, /Q to suppress confirmation prompt del /S /Q T:\%USERNAME% REM Commands for CCS REM Release the nodes and end the job ccrelease