#!/bin/sh # # ---------------- # AiresEyeInTheSky # ---------------- # # This is a sh script to monitor (generally using the cron facility) # the behaviour of the Aires Runner system. In particular, to # restart operations after a system crash or shutdown. # # Written by S. J. Sciutto, La Plata 1996, 1997. # # Last modification: 22/Jan/1997. # # # Usage: # # AiresEyeInTheSky # # ############################################################################### # # Setting predefinded constants. # cd AiresSet="${HOME}/.airesrc" if [ -f $AiresSet ] then . $AiresSet else # # .airesrc file does not exist, trying in default bin directory. # AiresSet="${HOME}/aires/current/bin/airesrc" if [ -f $AiresSet ] then . $AiresSet else # # Have no other ideas about the setting file. # echo echo Cannot find internal script file! echo exit fi fi # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # if [ "_$allspools" = "_" ] then ${Airesbindir}/AiresLaunch -qm else for spn in $allspools; do ${Airesbindir}/AiresLaunch -qm $spn done fi exit # # This script file is part of the AIRES Runner System; # AIRES 2.8.4a distribution. # # xxx 0 Tue Dec 12 16:28:05 ART 2006