HELP: dbms.job - scheduling job at exact time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Milan

    HELP: dbms.job - scheduling job at exact time

    Please, has anyone an idea about planning job in axact time ? I mean
    we need to run job in every minute starting at 00 sec. This job takes
    about 2 secs and call another stored procedure.

    I wrote this pl/sql block:

    declare
    l_job number;
    begin
    dbms_job.submit ( l_job,
    'test_proc;',
    sysdate,
    'sysdate+1/1440' );
    commit;
    end;

    Everything is fine except of submit time. I have no idea about telling
    Oracle to run this job every minute at 00 sec.

    Thanks
  • Rauf Sarwar

    #2
    Re: HELP: dbms.job - scheduling job at exact time

    mvapenik@cz.sol uziona.com (Milan) wrote in message news:<207c3ce7. 0306250012.285d 2855@posting.go ogle.com>...
    Please, has anyone an idea about planning job in axact time ? I mean
    we need to run job in every minute starting at 00 sec. This job takes
    about 2 secs and call another stored procedure.
    >
    I wrote this pl/sql block:
    >
    declare
    l_job number;
    begin
    dbms_job.submit ( l_job,
    'test_proc;',
    sysdate,
    'sysdate+1/1440' );
    sysdate + 60/86400 will restart at 60 second intervals. (86400 is
    total number of seconds in 24 hours)


    Regards
    /Rauf Sarwar

    Comment

    • Geomancer

      #3
      Re: HELP: dbms.job - scheduling job at exact time

      Hi Rauf,

      Here is a page with lot's of dbms_job scheduling examples:

      Mail académique Amiens : guide complet pour vous connecter à votre boîte de messagerie HR4YOU Auchan : connexion à l’espace salarié et présentation des avantages LIRE LA SUITE Direct Ecureuil : comment gérer vos comptes Caisse d’Epargne en ligne étape par étape LIRE LA SUITE IProf Dijon : guide pratique pour accéder à votre compte […]

      Comment

      Working...