Base de connaissances
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.
- Setup and configure SmartFTP (license activation, favorites, etc.) under the same user account which runs the scheduled tasks.
- 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. - If the scheduled tasks contain any File Monitor triggers, SmartFTP must be started on logon to monitor the files.
- menu: File - Settings
- In the Scheduler dialog, click on Create Start SmartFTP Task
- 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.
- Setup and configure SmartFTP (license activation, favorites, etc.) under the same user account which runs the scheduled tasks
- Setup SmartFTP service
- 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. - 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.
Mots-clés
service scheduled task scheduler
Articles connexes How To schedule a transfer
How to give a user Log on as a batch job rights
Class is not licensed for use
Setup SmartFTP service
What do you think about this topic? Send feedback!