setenv VM SPARTA
setenv MACHINE1 workstation_A
setenv MACHINE2 workstation_B
##虚拟机器名是一个大容器,它包含真实机器名:workstation_A和workstation_B
##真实机器名必须存在,否则会出错
##虚拟机器名必须关联真实机器名,否则不能运行
jil << EOF
/* ---Clean up ---*/
delete_machine: $VM ##删除虚拟机器名
insert_machine: $VM ##插入虚拟机器名,执行一次即可
machine: $MACHINE1 ##将真实机器名:workstation_A关联到虚拟机器名:SPARTA
machine: $MACHINE2 ##将真实机器名:workstation_B关联到虚拟机器名:SPARTA
/* ----------------- test_job----------------- */
insert_job: test_job job_type: c
command: ${SCRIPT_HOME}/test.csh aa
machine: $VM
#machine: workstation_A --这里用真实机器名,则不需要插入虚拟机器名和联真实机器名
owner: $ACCOUNT
permission: gx,mx,me
date_conditions: 1
days_of_week: mo,tu,we,th,fr
start_times: "07:10"
description: "Load APAC ELN Grid price"
std_out_file: ${LOG_HOME}/out.log
std_err_file: ${LOG_HOME}/out.err
alarm_if_fail: 1
EOF