{"id":479,"date":"2009-08-24T16:55:59","date_gmt":"2009-08-24T21:55:59","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=479"},"modified":"2011-07-06T10:15:11","modified_gmt":"2011-07-06T15:15:11","slug":"custom-repeat_interval-for-dbms_scheduler","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2009\/08\/24\/custom-repeat_interval-for-dbms_scheduler\/","title":{"rendered":"Custom repeat_interval for dbms_scheduler"},"content":{"rendered":"<p>Nothing fancy today, just a simple test case regarding the subject line \ud83d\ude42<\/p>\n<pre lang=\"plsql\" line=\"1\">\r\ncreate or replace function mytime return date as\r\nbegin\r\n  return sysdate + 5 \/ 1440;\r\nend;\r\n\/\r\n\r\ncreate table foo (c date);\r\n\r\ncreate or replace procedure test_interval as\r\nbegin\r\n  insert into foo values(sysdate);\r\n  commit;\r\nend;\r\n\/\r\n\r\nexec dbms_scheduler.create_job('myjob','plsql_block',job_action=>'begin test_interval; end;',repeat_interval => 'mytime');\r\nexec dbms_scheduler.enable('myjob');\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Nothing fancy today, just a simple test case regarding the subject line \ud83d\ude42 create or replace function mytime return date as begin return sysdate + 5 \/ 1440; end; \/ create table foo (c date); create or replace procedure test_interval&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2009\/08\/24\/custom-repeat_interval-for-dbms_scheduler\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[19,22],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/479"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":8,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/479\/revisions"}],"predecessor-version":[{"id":938,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/479\/revisions\/938"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}