Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle job timing execution parameters

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Common execution time of oracle job

1. Execute every minute

Trunc (sysdate,'mi') + 1 / (24060)

2. Execute regularly every day

For example, it is executed at 0: 00 in the morning every day.

Trunc (sysdate+1)

Executed at 1: 00 a. M. every day

Trunc (sysdate+1) + 1 Compact 24

Executed at 08:30 every morning

Trunc (sysdate+1) + (8: 60: 30) / (24: 60)

3. Execute regularly every week.

Every Monday at 2: 00 a. M.

Trunc (next_day (sysdate,1)) + 2Acer 24

Every Tuesday at 12:00

Trunc (next_day (sysdate,' Monday')) + 12 Unix 24

4. Execute regularly every month

Implemented at 0: 00 a. M. on the 1st of every month

Trunc (last_day (sysdate) + 1)

Implemented at 1: 00 a. M. on the 1st of every month

Trunc (last_day (sysdate) + 1) + 1 Universe 24

5. regular execution on a quarterly basis

Executed at 0: 00 a. M. on the first day of every quarter

Trunc (add_months (sysdate,3),'q')

Executed at 2: 00 a. M. on the first day of every quarter

Trunc (add_months (sysdate,3),'q') + 2 Unix 24

Executed at 11:00 on the last night of every quarter

Trunc (add_months (sysdate+2/24,3),'q')-1 Universe 24

6. Regular execution every half a year

Every year at 1: 00 a. M. on January 1 and July 1

Add_months (trunc (sysdate,'yyyy'), 6) + 1 Unix 24

7. Regular execution every year

Executed at 2: 00 a. M. on January 1 every year

Add_months (trunc (sysdate,'yyyy'), 12) + 2 Unix 24

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report