Hi DBA's
I wrote a bckup script using rman.
I set ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH variables and then wrote my backup code.
when I execute that script from unix prompt it works fine.
When I submit that in cron job I got an error.

RMAN 00571 : File Not Found
LEM-00031 : File not found: arguments[lempgmh] [lemerr]
LEM-00033 : File not found: arguments[lempgfm] [Could not open Message file]
LEM-00031 : File not found: arguments[lempgmh] [lsmerr]
LEM-00033 : File not found: arguments[lempgfm] [Could not open Message file]

I know that script is executed thr' cronjob.

I appriciate if someone could figure out the problem

Thanks
Sunny