The two ways to execute the subscription/job:
- Setting Schedules
- Running Manually
Setting Schedules:
Scheduling is the process of assigning time to execute a subscription/job. You can automate
the replication process using scheduling. The two modes for setting scheduling:
-
Real Time – Enables you to execute the subscription /job continuously without any
time delay. The execution starts automatically as you set schedules on the subscription/job.
-
Non Real Time – Enables you to execute the subscription/job in the scheduled time
only. For example, if you want to execute the job after two months, you can set the scheduled time
as two months.
You need to specify the subscription/job in the schedule on which you want to perform
scheduling. The steps to set schedules:
- Select
Schedule
Add Schedule in the Replicator window to display the scheduling options, as shown in the
following figure:
-
Scheduling |
- Click the Add Schedule option, Add Schedule dialog box appears as shown in the following figure:
-
Adding Schedule |
Different data fields in Add Schedule dialog box are:
-
Schedule Name – Enter name of the schedule to identify the schedule.
-
Non Real Time Schedule – Check this check box to perform non real time
scheduling.
-
Recurrence Type – Select the recurrence type from the combo box, such as Yearly or
Monthly, For example, if you select monthly, the job will be executed after 2 months or 4 months
depending on the counter value.
-
Counter Value – Select value of the counter from the combo box, such as 2 or 4.
For example, if you specify the Monthly in the Recurrence Type combo box and 2 in the
Counter Value, the job will be executed after every two months.
-
Start Date – Select starting date of the schedule when you want to start the
execution of the job.
-
End Date – Select end date of the schedule when you want to end the execution of
the job.
-
Start Time – Select starting time of the schedule when you want to start the
execution of the job.
-
End Time – Select end time of the schedule schedule when you want to end the
execution of the job.
- Enter the information in the data fields and click the OK button to add the schedule.
Running Manually
The steps to run the subscription/job manually:
- Select the jobs that you want to execute.
- If you want to execute all the jobs created by you, click on
Execute All button in the
Replicator window figure to start the execution. Following figure appears:
-
Executing all jobs |
- If you want to execute a single job, click on Do Job button to execute that job. Following figure appears:
-
Executing a single job |
-
Note: The Do Job sub-window will close automatically on the completion of a job
execution. The jobs will execute one after the other.
-
- Click the
Acknowledgement option in the Replicator or Replication DataSource after the job
execution.
Acknowledgement panel appears as follows:
-
Acknowledgement Panel in Replicator |
-
-
Acknowledgement Panel in Replication DataSource |
-
Note: You can view the error log using
DEBUG option on the
Log panel in Replicator and Replication DataSource. In Error Log, you can view the
exceptions or errors occurred during replication.
Note: You can view the report log using
Report option on the
Log panel in Replicator. In Report Log, you can view the information related to a
particular job, such as job name and start time. You can also access the information related to the
execution process of the job. For example, It provides the information about conflict resolution or
getting changes from datasource or successful execution.