DBMS_SCHEDULER RUN_JOB successful but nothing happens

Hi all

I'm working on a project where I have to create a URL and open it.

The creation of the URL works fine.

To open it in a browser, I tried to create one job in the dbms_scheduler:

Begin

() Dbms_Scheduler.Create_Job

Job_Name = > 'IE,'

Job_Action = > ' / bin/ksh.

Number_Of_Arguments = > 2,

activated = > false,

Job_Type = > 'executable');

Dbms_Scheduler.Set_Job_Argument_Value ("IE", 1, "#!") ("/ Bin/ksh");

Dbms_Scheduler.Set_Job_Argument_Value ('IE', 2, 'elinks 'URL' ');

End;

It works very well, too.

But when I want to now the task code succeeds but nothing happens.

Orders should open a browser with the given URL. If it works fine, an E-mail is sent to a specific address.

The URL opens the BirtMailer, a tool to send reports as attachments.

If I run the command on the shell, everything works fine and the e-mail message is sent. But with the Scheduler, nothing happens.

Any suggestion or advice will be appreciated.

Thank you all.

for example:

#! / bin/bash

Export HOME =...

ELinks $*.

Tags: Database

Similar Questions

Maybe you are looking for