Scheduling Jobs

You can schedule reverse engineering jobs, set recurrences, run jobs on a remote server, and label and categorize jobs using the Scheduler.

Before scheduling a job, ensure that you do the following:

  • Local job: On the ribbon, go to Home > Services. Then, click Start Service.
  • Remote server job: On the ribbon, go to Home > Remote. Then, click Start Remote Service.

When you schedule a reverse engineering job for SQL Server 2019 using Windows authentication method, ensure that you start the scheduler using the Start Service by Command option.

To schedule reverse engineering (RE) jobs, follow these steps:

  1. Create an event in one of the following ways:
    • On the ribbon, go to Home > New.
    • In the Calendar view, double-click a time slot under the day of your choice.
    • In the Calendar view, right-click a time slot under the day of your choice and click Add new event.
  2. The erwin DM Scheduler Event Details screen appears.

  3. Configure event options based on your requirement. Refer to the following table for field description.

    Option

    Description

    Additional Information

    Job NameSpecifies the name of the job 
    Job StatusDisplays the status of the job 
    LabelSpecifies the color of the job label 
    Start DateSpecifies the start date of the job
    • Jobs are run serially. Hence, schedule a reasonable job duration. Ensure that you consider the database, its size, and the approximate job duration of the current jobs, and then schedule a new job accordingly.
    • Also, in case of multiple jobs scheduled at the same time with the Schedule Now option, the scheduler randomly selects a job to run. Therefore, it is recommended that you do not schedule multiple jobs to run at the same time.
    Start TimeSpecifies the start time of the job 
    End DateSpecifies the end date of the job 
    End TimeSpecifies the end time date of the job 
    All day eventIndicates whether it is an all-day eventSelecting this option disables the Start Time and End Time options.
    Schedule NowIndicates whether the job runs at the current timeSelecting this option disables the Start Time, Start Date, End Time, and End Date options and schedules the job to run immediately.
    RecurrenceSpecifies job recurrence optionsThis option opens the Scheduling Recurrence dialog box, where you can configure recurrence for repetitive jobs.
    DatabaseSpecifies the database for reverse engineering

    If you set Redshift as the database, ensure that you do the following:

    1. On the ODBC Data Source Administrator dialog box, go to the System DNS tab.
    2. Select the Redshift data source and click Configure. The Amazon Redshift ODBC Driver DSN Setup dialog box opens.
    3. Under Encrypt Password For, ensure that the All Users of This Machine check box is selected.
    VersionSpecifies the database version for reverse engineering 
    Predefined ListDisplays predefined list of reverse engineering optionsFor more information, refer to the Setting Predefined Reverse Engineering Options topic.
    Reverse EngineerSpecifies the job's reverse engineering options

    On the Reverse Engineering Wizard, where you can connect to the database and configure reverse engineering options.

    RemoteIndicates whether a remote server is used for reverse engineering 
    Predefined Server ConfigurationDisplays the lists of predefined remote servers for reverse engineeringFor more information, refer to the Setting Predefined Reverse Engineering Options topic.
    Server NewSpecifies the IP address of a server in case a new remote server 
    PortSpecifies the port number of the new remote server 
  4. Click OK.
    Your RE job is scheduled. It runs as configured, and the job status and its event log is displayed.

    Depending on the settings you make and the job duration that you set, the job tile displays the following information about the job:
    • Name
    • Status
    • Start and end times
    • Run time