I want to run my script in crontab, but I have some problems...
In my script I run this command:
db2 connect to myDB2
This works fine when I run this as db2inst1 user, but when I run this script in db2inst1 crontab, I get this:
db2: command not found.
How can I solve this?