| Cronjob problem Guys,
please help me fix this problem. Its kind of urgent..I sat on it for more than 2 days. But im totally lost. Its a pretty dumb problem actually.
Im trying to run a crontask on a remote system. I should execute a shell script at a given time.
For ex: * * * * * bash /Users/name/sample.sh
In the script ive included commands to perform database backup. It works fine. But the problem is that, ive to run a perl script prior to the execute of mysqldump. For some dumb reason, it wouldnt execute.
Details of the file sample.sh:
/usr/bin/perl /Users/name/chumma.pl
If i run this command it should update some tables in my local database. Then i should run mysqldump to import it to a remote database, which works fine.
I dont know why the crontask wouldnt execute. I dont know if there is a problem with the shell syntax or the perl syntax.
Please not that, i SSH into a remote system to run the cronjob.. |