in reply to Perl Wait

Consider cron for this. Your crontab entry will look something like this:
# Check database every 15 minutes # Minute Hour Day of Month Month Day of Week Cmd */15 * * * * dbck >> /var/log/dbck


TGI says moo