Try OpenEdge Now
skip to main content
Resource Monitoring
Creating Jobs and Job Templates : Jobs overview : Creating a custom job
 

Creating a custom job

A custom job, also known as a job instance is an individual job that OpenEdge Management executes once or at a regularly scheduled interval. A custom job is generally a batch (noninteractive) task that runs as a background process. When you create a new job, be sure to assign it a unique and distinctive name, so that there is no confusion when you later view job history.
Examples of custom jobs include:
*Hourly database after-image roll over
*Weekly disk defragmentation
*Monthly database index rebuild
*Monthly scan disk
Once you create a job instance, you can schedule it to execute at a regular interval, such as hourly, daily, and weekly, and also at a specific time, such as at startup. Job schedules differ from resource monitor schedules in that job schedules define a frequency of occurrence (every fifteen minutes, for example) while monitor schedules define a block of time (9:00 AM – 5:00 PM, for example). You can create schedules through either the repeat interval or a cron expression.
You can view a list of scheduled jobs as well as check on the status of currently running jobs. Once jobs have completed, you can also query job history data. See Creating a job instance and Scheduling a job for details about creating and scheduling a custom job.