Steps to run Sahi Pro from Windows Task Scheduler

  1. Open Task Scheduler from windows search. Open Task Scheduler
  2. Click on Action > Create Basic Task on the Task Scheduler's window.

    Create Basic Task
  3. Enter the Name and Description for the task. Click on Next Select Name and Description
  4. Select the Trigger. You can set a daily, weekly, monthly schedule, or even an event trigger. Click Next. Trigger
  5. If you chose a Trigger that requires a specific start time, enter the date and time accordingly. Click Next. Date and Time Details
  6. Select the option Start a program and click Next. Start Program and Next
  7. Click "Browse" and select SAHI_RUNNER_HOME\userdata\bin\start_dashboard.bat file and click Open. Program Path
  8. In Start in (optional) field enter SAHI_RUNNER_HOME\userdata\bin\ folder path. Click Next. Start In Optional
  9. Check the checkbox at Open the properties dialog for this task when I click Finish and click Finish. Finish
  10. In properties dialog Select Run whether user is logged on or not option and click OK. Run LoggedIn
  11. Enter credentials and authenticate if required.

Steps to run Sahi Pro as a Service

  1. Download NSSM from http://nssm.cc/.
  2. Install your sevice with nssm.exe install [serviceName].
  3. This will open a GUI which you will use to locate your executable. NSSM Install
  4. Set the correct values for Path and Arguments here and click on Install Service. Install Service