Behavior of Bad Script in Cron Job

Hi

A Ksh script is deployed in a server and executed through cronjob.
If one of the line in the middle of the script fails . Are the remaining lines executed ?

No. The shell will exit with a non zero return code.

I have to disagree with jp2542a on this (a rare occasion indeed), the exit code of a script is not determined by the highest exit code of lines of code within it.
It would depend on the exact nature of the script but I would guess that if the error occurred before the last line and there's no error handling, it would continue as though nothing went wrong.

I guess I made an assumption that the failure was caused by a shell builtin. If it is then the shell will exit. But if it is an external command that failed and there is no error handling, then script will continue as Smiling Dragon says :).