Run report from batch file [message #167570] |
Fri, 14 April 2006 00:50 |
juicyapple
Messages: 92 Registered: October 2005
|
Member |
|
|
Hi, I want to run oracle report as a schedule task, is it possible to run it with using command in batch file?
can anyone provide some info about this?
Thanks.
|
|
|
Re: Run report from batch file [message #167576 is a reply to message #167570] |
Fri, 14 April 2006 02:03 |
aciolac
Messages: 242 Registered: February 2006
|
Senior Member |
|
|
For example you can include next block in Your file and run them from crontab or any sheduler.
sqlplus -s username/password <<EOF > log_name.log
set serveroutput on
--here You can put your SQL command
select *
from dual;
EOF
|
|
|
|
|
|
|