Apple Qmaster 3 New Features Manuel d'utilisation

Page 35

Advertising
background image

35

Exemple de script Batch Monitor

#!/bin/csh -f

#

# set env var, EMPLACEMENT_DE_BATCHMONITOR s’il n’est pas défini

#

if ${?EMPLACEMENT_DE_BATCHMONITOR} == 0 then

pushd `dirname $0` >& /dev/null

setenv EMPLACEMENT_DE_BATCHMONITOR "/Applications/Utilities/Batch Moni-

tor.app/Contents/MacOS"

popd >& /dev/null

endif

#

# launch Batch Monitor

#

exec "${EMPLACEMENT_DE_BATCHMONITOR}/Batch Monitor" $argv:q

Advertising