Oracle Cron Jobs
Version 19.3

General Information
Library Note Morgan's Library Page Header
Which has the higher priority in your organization: Deploying a new database or securing the ones you already have? Looking for a website, and resources, dedicated solely to securing Oracle databases? Check out DBSecWorx.
 
<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 Database Scheduler Job *NIX 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 SQL plus minimal 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
Backed up by RMAN TRUE FALSE
Job Chaining Fully supported No support available
Flexibility Jobs may be modifiable while running Jobs cannot be modified while running
File Watching Fully integrated Non-existent
Job Grouping Fully integrated 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
Metadata Collection Extensive metadata collected for every run or failure Non-existent
Outage Aware Will never try to run if the database is not open Will try to run even if the database 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
Licensing Cost None None

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-2019 Daniel A. Morgan All Rights Reserved
  DBSecWorx