i am setting cron job on centos.
*/10 * * * * /root/var/mysqlbackup.sh
/etc/my.cnf
/usr/local/bin/mysqlbackup.py (file permission is 755)
/var/mysqlbackup.sh
content of mysqlbackup.sh:
#! /bin/sh
cd usr/local/bin
python mysqlbackup.py --cnf /etc/my.cnf --todir /var/backup
while its working manually. but its not working in cron job and i am not getting any error.