while true
do
read $input
if $input
then
(light(blinky) = true)
call(SYSAD)
;;
(database(crash) = true)
call(DBA)
;;
(application(slow) = true)
call(application developer)
open(conference call)
;;
(user(squawk) = true)
call(someone who cares)
;;
(server(smoke) = true)
leave(building)
;;
*)
call(supervisor)
supervisor(decide)
follow(decision)
;;
esac
$input = “”
fi
sleep 30 or die “Can’t sleep on duty”
done
No comments:
Post a Comment
This is no longer an active blog. If you want to comment, please go to the new blog. If you're not a bot, you can find the address to the new blog in my last entry.
Note: Only a member of this blog may post a comment.