Hi,
I have to give a script which is to be put in the cron to be run for a shutdown and startup.

but i'd like to know how to put it in a script and put it in the crontab.

for ex:
setenv ORACLE_SID orcl
svrmgrl
shutdown immediate;
exit

and for startup:
setenv ORACLE_SID orcl
svrmgrl
startup pfile=/u01/..
exit

could someone help me out. its very urgent.
Thanx a lot.
-Dharma.