Knowledge Base

Home > How To > How To run scheduled tasks

Created
Modified

Article 2624

How To run scheduled tasks

How To Run Scheduled Tasks

This article describes two different methods on how to run scheduled tasks with SmartFTP.

Method - Interactive Session

With this method, the SmartFTP process runs in an interactive session. This is the session of the currently logged on user where the interface of SmartFTP is displayed. Transfers can conveniently be monitored and managed. 
  1. Setup and configure SmartFTP (license activation, favorites, etc.) under the same user account which runs the scheduled tasks.
  2. When creating scheduled tasks in SmartFTP, in the General dialog use the following Security options:
    (o) Run only when user is logged on
    Enabling the [ ] Run with highest privileges option is not necessary.
  3. If the scheduled tasks contain any File Monitor triggers, SmartFTP must be started on logon to monitor the files.
    1. menu: File - Settings
    2. In the Scheduler dialog, click on Create Start SmartFTP Task
  4. Turn on automatic logon if the tasks should run when the user is not logged on
    KB: How to turn on automatic logon

Method - Service in Background (Session 0)

With this method, a service is setup which runs the transfers in the background (Session 0) whether the user is logged on or not. The user interface is not available and the transfers can be monitored through the File or Database logging facility of the application.
  1. Setup and configure SmartFTP (license activation, favorites, etc.) under the same user account which runs the scheduled tasks
  2. Setup SmartFTP service
  3. When creating scheduled tasks in SmartFTP, in the General dialog use the following Security options:
    Logon type:
    (o) Run whether user is logged on or not
    Enabling the [ ] Run with highest privileges option is not necessary.
  4. To verify the setup, go to the Scheduler pane and run the task that you have created in 3.

Notes

To run scheduled tasks a license for the Enterprise edition is required.

Keywords
service,scheduled,task,scheduler