This content has been marked as final. Show 7 replies
Execute this command to see more about the error and paste it here.
Other than oracle---------
select * from all_scheduler_job_run_details;
If you neet to ran .bat file then by scheduling windows tasks would also help you more.
Search more about windows tasks scheduling on windows 7.
Edited by: Chanchal Wankhade on Jan 4, 2013 11:39 PM
it's retrive long output.
when i double click on it. it running ok .
this is inside the a.bat. set path=C:\Program Files\Java\jdk1.5.0_22\bin; set classpath=C:\Program Files\Java\jdk1.5.0_22\bin; java -mx1500m -cp C:\my_program.jar C:\output\inputfile.txt > c:\output\outputfile.txt
Have you got CREAT JOB or CREATE ANY JOB privilege granted?
i have did all this
Grant read,write on directory logfile to usera; Grant read,write on directory output to usera; create or replace directory logfile as 'c:\output'; create or replace directory output as 'c:\output'; Grant create external job to usera;
when i used
i found this
select additional_info from all_scheduler_job_run_details where job_name='MYJOB';
could not create java virtual machine
when i put just
the job create that folder that mean the job running well. BUT this error appear.
md new_folder inside a.bat .
Many thanks i got the solution , the error was in java command .