Re: DBMS_SCHEDULER problem.



On Fri, 29 Feb 2008 13:16:35 +0000, Mladen Gogala wrote:

DBMS_SCHEDULER contains no "alter job" procedure. I want to create new
schedule for GATHER_STATS_JOB, without having to create a new job. As a
matter of fact, DBMS_SCHEDULER has nothing like DBMS_JOB.CHANGE. I think
I will create a new job using DBMS_JOB. Is anybody aware of anything I
can do without having to drop and re-create the job?

For all those to recommend reading about SET_ATTRIBUTE, it doesn't help:

1 begin
2 dbms_scheduler.set_attribute(
3 name=>'GATHER_STATS_JOB',
4 attribute=>'repeat_interval',
5 value=>'freq=minutely;bymonthday=1');
6* end;
SQL> /
begin
*
ERROR at line 1:
ORA-27488: unable to set REPEAT_INTERVAL because SCHEDULE_NAME, EVENT_SPEC
was/were already set
ORA-06512: at "SYS.DBMS_ISCHED", line 2876
ORA-06512: at "SYS.DBMS_SCHEDULER", line 1847
ORA-06512: at line 2


In other words, it is already set, it can't be changed without dropping
and re-creating it.


--
Mladen Gogala
http://mgogala.freehostia.com
.



Relevant Pages

  • DBMS_SCHEDULER problem.
    ... DBMS_SCHEDULER contains no "alter job" procedure. ... schedule for GATHER_STATS_JOB, without having to create a new job. ... matter of fact, ... Mladen Gogala ...
    (comp.databases.oracle.server)
  • The ad in favour of the arbitrary villa is the motion that educates mercilessly.
    ... schedule. ... She might then matter in response to ... cool the global nosy rings before Oscar does? ... Gawd, I'll ...
    (sci.crypt)
  • Re: Starting rotation
    ... but that's according to the current schedule. ... It doesn't matter what the rotation is now, ... you can change the batting order daily. ... so really it doesn't matter if Beckett is 1st or 5th, ...
    (alt.sports.baseball.bos-redsox)
  • Re: Starting rotation
    ... but that's according to the current schedule. ... It doesn't matter what the rotation is now, ... and for the batting order you want it to make sense. ...
    (alt.sports.baseball.bos-redsox)
  • Re: Starting rotation
    ... but that's according to the current schedule. ... It doesn't matter what the rotation is now, ... and for the batting order you want it to make sense. ...
    (alt.sports.baseball.bos-redsox)