Click here to Skip to main content
13,097,012 members (81,083 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have a Stored procedure which needs to be run every minute, for that I have a job in Oracle 10g. I have created a job

  -- Job defined entirely by the CREATE JOB procedure.
  DBMS_SCHEDULER.create_job (
    job_name        => 'Update_Status',
    job_type        => 'PLSQL_BLOCK',
    job_action      => 'BEGIN ;updateStatus; END;',
    start_date      => SYSTIMESTAMP,
    repeat_interval => 'freq=minutely; bysecond=0;',
    end_date        => NULL,
    enabled         => TRUE,
  auto_drop          =>   FALSE,
    comments        => 'Job defined entirely by the CREATE JOB procedure.');

This above job needs to run for every one minute. But the status is not being updated? I do not know whether the job is stared or not how to get the status of the job, How to make it run?
Posted 10-Jul-13 1:45am
Updated 10-Jul-13 23:41pm
ryanb31 10-Jul-13 7:49am
I don't know Oracle but SQL has a scheduler feature built in. I would imagine Oracle does too.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 11 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100