Need a script

Hi,

I have a java process which runs as user id "cayman" and I need a small script to monitor this process every 10 min (starting from 2:30am to 1am everyday to check if it is running or not and it should write the status to a log file and if it is not running it should page out to abc@skytel.abc.com or multiple recipients.

Thanks.

What have you tried so far?
Use ps to search for the user's process, test if it's found with grep and if maybe checking the return code and then send a mail or whatever you like. And edit your crontab accordingly to run the script for the needed times.