we ran the job for backup using a cronjob.
We had solaris 7 and migrated to solaris 10.
Now my backup job does not run.
This is the error I get if I try to run the file manually.
ksh: ./.backup: cannot execute
If I enter each line manually it work so I know it has nothing to do with the code.
cat .backup
-------------------------------
#!/bin/ksh
. /export/home/sybase16/.profile
/opt/sybase12.5/OCS-12_5/bin/isql -Usa -Pxxx -Smyserver -I $SYBASE/interfaces -i $HOME/cronjobs/backup/bakckup6.sql
Wondering if in Solaris 10 I need to modify the actual .backup file. As mention before if I copy each line in the command window the backup will start running.
Thank you for your help.
We had solaris 7 and migrated to solaris 10.
Now my backup job does not run.
This is the error I get if I try to run the file manually.
ksh: ./.backup: cannot execute
If I enter each line manually it work so I know it has nothing to do with the code.
cat .backup
-------------------------------
#!/bin/ksh
. /export/home/sybase16/.profile
/opt/sybase12.5/OCS-12_5/bin/isql -Usa -Pxxx -Smyserver -I $SYBASE/interfaces -i $HOME/cronjobs/backup/bakckup6.sql
Wondering if in Solaris 10 I need to modify the actual .backup file. As mention before if I copy each line in the command window the backup will start running.
Thank you for your help.