Hi,
I have a script that checks a database for new information every 15 min. If there is something new it e-mails me, if there is nothing the script dies. I'm using crontab to run the script every 15 min. My problem is when the script dies, cron sends an e-mail to root. How can I get this script to die normally without producing a die() error?
I'm a newbee to perl and programming, so please tell me there is an easy and mindless solution. :)