Scheduler As an NT Service
Schedule tasks of TurboFTP (including session and sync tasks) can be run in a generic NT service. This is done by the Sync Service module (tftpsvc.exe). Using the Sync Service to run pre-configured schedule tasks doesn't require a user to log onto the computer and prevents unauthorized user to interfare with or shutdown the schedule process. The Sync Service supports simultaneous multiple schedule tasks and offers better performance.
The feature is only available on Windows NT/2000/XP/2003 Server.
Start the Service
To activate the Sync Service you must select the Sync Service option during TurboFTP installation and select checkbox [Task Scheduler | Run as NT service] to start the service. After that you can still add, delete, modify and monitor scheduld tasks in the Task Scheduler.
Program Settings
The Sync Service reads TurboFTP.ini to get the relevant program settings, which you can modify in TurboFTP GUI program's Options dialog. Thus before you enable Sync Service, make sure [Options | General | Store program settings in TurboFTP.ini] is checked.
Note that Sync Service doesn't use all the settings in Options dialog, but only those under tab [General], [Advanced], [Transfer], [Firewall] and [DUN].
Sync Service relies on site information stored in the Address Book too. However it will ignore settings under [Site Settings | Sync], as it uses each Schedule Sync Task's own set of settings under [Schedule Task Settings | Synchronization]. You can see the two have an identical set of elements.
Sync Service also shares settings in [Tools | Email Notification].
Task Log File
Task logs are stored in TurboFTP installation folder. For task #1, its task log is 1.log, and so on. Each time a task is started, the length of its task log will be checked and if it exceeds [Options | General | Max Log File Size], a backup copy of the task log will be saved with a date stamp in name and an empty log file will be created for subsequent logging.
Stop the Service
Uncheck [Task Scheduler | Run as NT service] to stop the service. You can of couse use the Windows Control Panel.
NT Event Log
The Sync Service writes important information about each schedule task in the system Event Log. This is typically done when a task is started, ended (either with error or successfully) and when a task is added, deleted or modified.
Install and Uninstall the NT Service
These are normally done by the installer and uninstaller respectively. But you can also do it manually in a console window.
To reinstall: tftpsvc /install
To uninstall: tftpsvc /uninstall
For more information about tftpsvc.exe's command line options type:
tftpsvc /help
|