Link to home
Start Free TrialLog in
Avatar of anumoses
anumosesFlag for United States of America

asked on

dbms job submit

Originally it was

--dbms job run every 1st of the month for monthly proposed annual goal report

DECLARE
    x   NUMBER;
BEGIN
dbms_job.submit(job => X,
                what => 'mthly_prop_goal_imp_prc;' ,
                next_date => trunc(add_months(sysdate, 1), 'mm'),
                interval => 'trunc(add_months(sysdate, 1), ''mm'')',
                no_parse => true);
commit;
end;

I need to create a job that will run last day of the month at 11.00pm
Need help
ASKER CERTIFIED SOLUTION
Avatar of johnsone
johnsone
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of anumoses

ASKER

job runs just  for a few seconds.
Thanks