简体   繁体   中英

How to automatically running daily PL/SQL script (Oracle) using spring boot and angular?

so my graduation project is about automatically running daily PL/SQL script (Oracle) using spring boot and angular at a precise hour of the day with oracle database and im a bit confused cause both langages are new for me can please anyone tell me how to start or if i can find any codings that may help

You could use Oracle scheduler using DBMS_SCHEDULER package.

For example,

BEGIN
  DBMS_SCHEDULER.create_job (
    job_name        => 'your_job',
    program_name    => 'your_program',
    repeat_interval => 'freq=hourly; byminute=0; bysecond=0;',
    job_style       => 'REGULAR',
    enabled         => TRUE);
END;
/

See the documentation to learn more about DBMS_SCHEDULER .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM