|
| 1 | +--- |
| 2 | +sidebar_position: 5 |
| 3 | +id: scheduler-restart-sqlsync |
| 4 | +title: Schedule Restart Sqlsync |
| 5 | +description: Schedule daily restart of SQL BI Dashboard Sync Tool service |
| 6 | +slug: /integration/bi-dashboard/scheduler-restart-sqlsync |
| 7 | +tags: ["BI Dashboard", "Schedule Restart Sqlsync"] |
| 8 | +--- |
| 9 | + |
| 10 | +:::info |
| 11 | +This is recommended for users whose PC is turned on 24 hours. |
| 12 | +::: |
| 13 | + |
| 14 | +## Prerequisites |
| 15 | + |
| 16 | +- Completed [On-Premise Setup](./on-premise-setup) |
| 17 | + |
| 18 | +## Setup |
| 19 | + |
| 20 | +### Step 1 – Download RestartSqlsync Batch File |
| 21 | + |
| 22 | +1. Download [RestartSqlsync.bat](https://drive.google.com/file/d/1v2V8nUbmCHk6Cpks4P32Zz1JVU2n4zip/view?usp=sharing) |
| 23 | + |
| 24 | +### Step 2 – Place Batch File in SqlSync Folder |
| 25 | + |
| 26 | +1. Copy and paste `RestartSqlsync.bat` to the SqlSync installation folder |
| 27 | + |
| 28 | + :::info |
| 29 | + The default SqlSync installation folder is `C:\SQLSync` |
| 30 | + ::: |
| 31 | + |
| 32 | +  |
| 33 | + |
| 34 | +### Step 3 – Create Windows Task Scheduler |
| 35 | + |
| 36 | +1. Open **Task Scheduler** > Click **Create Basic Task...** |
| 37 | + |
| 38 | +  |
| 39 | + |
| 40 | +2. Enter a name for the task (e.g. **Restart Sqlsync**) > **Next** |
| 41 | + |
| 42 | +  |
| 43 | + |
| 44 | +3. Select **Daily** > **Next** |
| 45 | + |
| 46 | +  |
| 47 | + |
| 48 | +4. Set start time based on your preference (e.g. **5:00:00 AM**) > **Next** |
| 49 | + |
| 50 | +  |
| 51 | + |
| 52 | +5. Select **Start a program** > **Next** |
| 53 | + |
| 54 | +  |
| 55 | + |
| 56 | +6. At **Program/script** field > **Browse** > Select the `RestartSqlsync.bat` file path > **Open** > **Next** |
| 57 | + |
| 58 | +  |
| 59 | + |
| 60 | +7. Check **Open the Properties dialog for this task when I click Finish** > **Finish** |
| 61 | + |
| 62 | +  |
| 63 | + |
| 64 | +8. Select **Run whether user is logged on or not** and **Run with highest privileges** > **OK** |
| 65 | + |
| 66 | +  |
| 67 | + |
| 68 | +9. Enter Windows administrator **User name** and **Password** > **OK** |
| 69 | + |
| 70 | +  |
0 commit comments