I have a script called install.sh. This script execute some others script. All work fine just he call a *.sql script. In this case call the script but exit without give an error but don't execute the sql script. Manually, if I call install.sh with an user, all script work correctly.
I create the cronjob with the same user as used to test manually.
Script:
#! /bin/bash
echo "start"
cd /path/to/script/install.sh
./install.sh
echo "End"
Cronjob:
01 01 * * * /full/path/to/start_script.sh