Navicat allows you to create a batch job for setting schedule to execute at one regular interval. Batch job can be created for Query, Backup, Data Transfer, Data Synchronization, Import and Export from MySQL, Oracle, PostgreSQL and SQLite databases. You can define a list of actions to be performed within one batch job, either run it manually or at the specified time/periodically.
Just simply click to open an object pane for Schedule. A right-click displays
the popup menu or using the object pane toolbar below, allowing you to create
new, edit, open and delete the selected batch job/schedule.
Create Batch Job
To create a new batch job
- Select anywhere on the object pane.
- Click the
New Batch Job from the object pane toolbar.
or - Right-click and select
New Batch Job from the popup menu.
- Edit batch job properties on the appropriate tabs.
To create a new batch job with modification as one of the existing batch jobs
- Select the batch job for modifying in object pane.
- Right-click and select the
Design Batch Job from the popup menu.
or - Click the
Design Batch Job from the object pane toolbar.
- Modify batch job properties on the appropriate tabs.
- Click
Save As.
To edit the existing batch job
- Select the batch job for editing in the object pane.
- Right-click and select the
Design Batch Job from the popup menu.
or - Click the
Design Batch Job from the object pane toolbar.
- Edit batch job properties on the appropriate tabs.
To change the name of the batch job
- Select the batch job for editing in the object pane.
- Right-click and select the Rename from the popup menu.
Run Batch Job
To run a batch job
- Create a new batch job/open the existing one.
- Click
Start.
To run a saved batch job from the command line
- Create and save the batch job.
- Start Navicat from command line - start_navicat /batchjob ProfileName
Note: | ProfileName -> name of the saved batch job |
Delete Batch Job
To delete a batch job
- Select the batch job for deleting in the object pane.
- Right-click and select the
Delete Batch Job from the popup menu.
or - Click the
Delete Batch Job from the object pane toolbar.
- Confirm deleting in the dialog window.
Set Schedule
To set schedule to the batch job
- Create and save the batch job/open the existing one.
- Select the batch job in the object pane.
- Right-click and select the
Set Task Schedule from the popup menu.
or - Click the
Set Task Schedule from the object pane toolbar.
- Set your schedule of the batch job.
Hint: LogCmd.txt stores all the operations executed, indicating success or failure during the schedule.
Delete Schedule
To delete a schedule
- Select the scheduled batch job in the object pane.
- Right-click and select the
Delete Task Schedule from the popup menu.
or - Click the
Delete Task Schedule from the object pane toolbar.
- Confirm deleting in the dialog window.
Achieve Batch Job Information
To achieve a batch job information (Name, Group name, File and Create Time, etc)
- Select the batch job in the object pane.
- Right-click the selected batch job and choose Batchjob Information from the popup menu to view the Object Information.
or - Choose View -> Object Information in the main menu.