Kunskapsbas

  1. Hem
  2. How To
  3. How To run scheduled tasks
Skapad
Ändrad

Artikel 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 - Service in Background (Session 0) - Recommended

With this method, a service is setup which runs the transfers in the background (Session 0) whether the user is logged on or not. Transfers can be managed in the Background Transfer Queue pane, in addition 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.
  5. The task will be added to the background transfer queue which you can monitor in the Background Transfer Queue pane.

Method - Interactive Session

With this method, transfers run in the SmartFTP process in the interactive session. This is the session of the currently logged on user where the interface of SmartFTP is displayed.
  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
    Technet: How to turn on automatic logon (using netplwiz)
    Configure Windows to automate logon - Windows Server (using registry)

Notes

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

Nyckelord
service,scheduled,task,scheduler