Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Overview

In this document, we are going to see how to create and associate jobs from DB in Wayfast.

What is a Job in Database?

A Job is a container that allows packaging one or more steps in process that need to be scheduled and executed. In other words, we can say that it is a series of query actions that can be performed in certain periods of time.

We can use jobs to define different tasks that can be run one or more times and monitored for success or failure. A job can run on one local server or on multiple remote servers.

How to create a Job in Wayfast?

Under “Database” section, click “Jobs” tab

This is job’s dashboard that will display all the details related. Click “New” button to start with the creation.

A popup is displayed with only 2 fields to complete. Include the job’s name and description and check the “Active” checkbox before clicking “Accept” button

Object is now created on Wayfast. Let’s focus on the “Quantity Steps” and “Quantity Schedulers” columns. Both they are going to indicate what are going to be steps setup for the job and the time-scheduled details respectively.

Let’s focus first on “Quantity Steps”. Click on the “0” link and automatically a new popup is going to be prompted to display all the steps related to job. In this case, it won’t display any row.

Click “New” button again inside the “Job Step” popup and complete the required fields

After selecting the “Instance” and “Database” information, add the query to execute in the first step on the job. Make sure that the “Active” checkbox is checked in order to include the step in the job.

Now that we have 1 step associated, turn to “Quantity Schedulers” column.

Notice that Scheduling jobs defined the condition or conditions that cause the job to begin running without user interaction. You can schedule a job to run automatically by creating a new schedule for the job.

Click on “0” link

A new popup is displayed on the screen to create the job’s scheduler. Click “New” button

Setup the scheduler taking into consideration the following options:

Field

Description

Type

  • Start Automatically when SQL Server Agent Starts

  • Start whenever the CPUs become Idle

  • Recurring

  • One Time

Frequency occurs

  • Daily

  • Weekly

  • Monthly

Every recurs

Number of repetitions

Occurs every Frequency

Number of times a given event occurs at specified time during a defined period

Starting Frequency

Hour time that it will start the execution

Frequency Daily Ending

Hour time that it will end the execution

Make sure that the job’s scheduler is active before clicking “Accept” button.

New scheduler is created and associated to the job previously created.

Recap

We learnt how we can setup a simple job with the steps to be executed by the system in Wayfast. Also how we can simply setup scheduled programs for each of this jobs.

  • No labels