Monday, October 12, 2009

call center script


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:

Creative Commons License
DaddyBear's Den by DaddyBear is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 United States License.
Based on a work at daddybearden.blogspot.com.