in reply to Script runs from command line but not via crontab

Hi,

What's the full path to your script and what's the contents of the environment variable $PATH in your crontab? Specify full path to your script in the crontab and the problem should go away:

1-59/5 * * * * /full/path/to/cgi-bin/dbman/db2sql.sh

P.S. 1-59/5 Is a shorter way to say that the command should be executed every 5 mins.