Managed File Transfer Platform Server for Windows - Setting up pDNI for Automatic Startup on Windows

Managed File Transfer Platform Server for Windows - Setting up pDNI for Automatic Startup on Windows

book

Article ID: KB0076085

calendar_today

Updated On:

Products Versions
TIBCO Managed File Transfer Platform Server for Windows All

Description

pDNI needs to be initiated by starting the pDNI daemon. Scheduling it for automatic start automates this task.

Issue/Introduction

Instructions to set up pDNI for automatic startup using Windows Scheduler

Environment

All supported environments

Resolution


If the goal is to start the DNIDaemon at startup time, we suggest using the Windows Scheduler to start DNIDaemon "At System Startup".

Here are the steps:

1.  Go to Task Scheduler (Start, type in "Task" and select task scheduler)
2.  Create a Basic task:
3.  Action ==> Create Basic Task
General: Run whether user is logged on or not
General: Run with Highest Privileges (only if you need to access UNC connections): You will need to enter a password
Triggers: At System Startup
Triggers: "Delay task for: "1 minute"
Triggers: Enabled
Actions: "Start a Program"
Actions: Program/Script: d:\dni\startdaemon.bat (see below)

dnidaemon.bat:
start /D d:\dni cmd /C c:\perl\bin\perl DNIDaemon.pl c:DNIConfig.cfg ^>.\DNIDaemon.log 2>&1

Optionally, you could execute the start command in the Action Program/Script above. 

With this script, the DNIDaemon.pl gets started 1 minute after Windows starts up.