What is the difference between DBMS_JOB and DBMS_SCHEDULER ?
Listed next are some of the benefits that DBMS_SCHEDULER has over cron:
• Can make the execution of a job dependent on the completion of another job
• Robust resource balancing and flexible scheduling features
• Can run jobs based on a database event
• DBMS_SCHEDULER syntax works the same regardless of the operating system
• Can run status reports using the data dictionary
• If working in clustered environment, no need to worry about synchronizing multiple cron tables for each node in the cluster
Listed next are some of the advantages of using cron:
• Easy to use, simple, tried and true
• Almost universally available on all Linux/Unix boxes; for the most part, runs nearly identically regardless of the Linux/Unix platform (yes, there are minor differences)
• Database agnostic; operates independently of the database and works the same regardless of the database vendor or database version
• Works whether the database is available or not