Oracle Cron Jobs
Version 18.1.0.0

General Information
Library Note Morgan's Library Page Header
Are you prepared for the release of Oracle Database 18c ... the first autonomous database? We are here at the Library. It is time for DBAs to stop fighting robots with their fingers and losing ... time to start using our intelligence and winning.
 
<RANT>
I can't think of few things in our industry more worthless but still in use than cron jobs. Cron jobs, by almost any measure, are both obsolete and functionally deficient. In the following rant I am going to publicly make a point that has needed to be made for a very long time.

Characteristic Scheduler Job Cron Job
Operating system support True True
Operating System interchangeable Jobs can be moved, seamlessly, between operating systems Jobs require rewrite between operating systems
Windows Support True False
O/S Access Required False True
DB Access Required True True
Languages Required PL/SQL SQL plus a shell scripting language
RAC Load Balance Aware TRUE FALSE
RAC Failover Aware TRUE FALSE
Data Guard Switchover Aware TRUE FALSE
Data Guard Failover Aware TRUE FALSE
Job Chaining Fully supported Not available
Flexibility Jobs are modifiable while running Jobs can not be modified while running
File Watching Fully integrated Non-existent
Job Grouping Fully integrated job grouping Non-existent
Job Windowing Jobs can be run solely within temporal windows Long running jobs have no windowing rules
Exception Handling Fully integrated Non-existent
Outage Aware Will never try to run if the database is not open Will try to run even if the local databases has crashed and burned
Reporting Support Full support for SQL and a wide variety of third-party reporting tools None
Messaging Support True and fully integrated with JMS through AQ False
Bug Support Support available from Oracle Corp ROFLOL

When I add up the score I see cron capable of doing only one thing well ... running jobs in the O/S. At all but two other criteria it fails.

Still want to write a cron job? Be my guest but don't expect a non-Cretaceous DBA to support or maintain it any more than you should expect to find "VAX" or "PDP 11" on their CV.
</RANT>
Now that you have hopefully been convinced to abandon the Paleolithic insanity that is cron the following link may help you locate the vermin so you can exterminate them. Linux: List / Display All Cron Jobs

# crontab -u oracle -l

Related Topics
Unix

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2017 Daniel A. Morgan All Rights Reserved