Deployment Guide

14.5.2Scheduling DB2 watchdog
db2_watchdog.sh should be run at least once in 10 minutes. Probably the easiest way to schedule checks
is to use cron.
Important: Use crontab of “root” user.
Example schedule
Use “crontab -e” to edit the crontab of the “root” user. Add line
*/10 * * * * /opt/7signal/dbms/scripts/db2_watchdog -t -d /opt/7signal/database -p
/DB-archive/logs -s /DB-archive/logs -l /var/log
14.6All together
The following example schedules all important database maintenance tasks on cron:
# Full online backup every Sunday at 3 am
0 3 * * 0 /opt/7signal/dbms/scripts/7BUtool.sh -s my-carat -f
notification@my-carat.example.com -t reports@example.com -o /backups >> /var/log/backup.log 2>&1
7signal Solutions Inc., 6155 Rockside Road, Suite 110, Independence, Ohio 44131, USA,
216-777-2900, info@7signal.com, www.7signal.com