crontab + exec command

hi I am trying to activate auto_run.sh from crontab using following command line but nothing happen.

35 11 * * * -exec /u/uniacc/auto_run.sh

and this is the first line of auto_run.sh
ksh exec auto_inv.4ge > kti

By "nothing", you mean you don't even get an email saying that -exec is not a valid command?

sh: -exec: not found

You get that by email? Then your crontab is working, you just need to fix the syntax. For example, just take out the"-exec".

Probably the syntax of auto_run.sh should be audited too; that first line doesn't look right, but if it works, maybe you don't want to mess with it.

I made lot of changes to auto_run.sh & also removed -exec and it works perfectly. Thankyou for sharing and for your time. Bye