script to check for a particular process and alert if its not running

Hai Friends,

I have to develop a script that checks for a particular process say x.exe once every day and report if its not running say through a blat mail.

I need this to run in a given list of pc from a single point.

Any suggestion of how to go abt this

Thnx for any help

#!/bin/sh
var1=`ps -ef | grep -v grep | grep process_name| awk '{print $2}'`
echo $var1
if [ -n $var1 ]
then
echo "The Process is Running"
else
echo "The process is not running"
fi