RedNoseXXL
Programmer
Hi, I have a problem with create_Job. I've wrote a little block:
begin
DBMS_SCHEDULER.CREATE_JOB(job_name => 'run_batch',
job_type => 'executable',
job_action => 'c:\windows\system32\cmd.exe /c c:\Test.bat',
enabled => true,
auto_drop => true);
commit;
end;
This block works fine and the directory was created.
So I write a new block where I tried to execute a little script:
begin
DBMS_SCHEDULER.CREATE_JOB(job_name => 'run_batch',
job_type => 'executable',
job_action => 'c:\windows\system32\cmd.exe /c c:\Test.bat',
enabled => true,
auto_drop => true);
commit;
end;
This will not work. Oracle executes the block without an error but the Test.bat was not executed.
Can anybody help me?
Kind regards
Alex
begin
DBMS_SCHEDULER.CREATE_JOB(job_name => 'run_batch',
job_type => 'executable',
job_action => 'c:\windows\system32\cmd.exe /c c:\Test.bat',
enabled => true,
auto_drop => true);
commit;
end;
This block works fine and the directory was created.
So I write a new block where I tried to execute a little script:
begin
DBMS_SCHEDULER.CREATE_JOB(job_name => 'run_batch',
job_type => 'executable',
job_action => 'c:\windows\system32\cmd.exe /c c:\Test.bat',
enabled => true,
auto_drop => true);
commit;
end;
This will not work. Oracle executes the block without an error but the Test.bat was not executed.
Can anybody help me?
Kind regards
Alex