Jump to content

Win 2003 Scheduled task breaks IP connection


OKsofar
 Share

Recommended Posts

I have a strange problem with running a scheduled task. I've searched everywhere, but can't find this particular issue.

I have a program that downloads files from a server. It makes the connection via TCP/IP and transfers files.

The program is run from a bat file. Whenever I run the bat file manually, the program runs fine.

Whenever I run it as a scheduled task, however, it runs but does not complete.

On the server, the log says that the connection was opened and the server received some data. But then the connection closed unexpectedly.

Why would the connection break when the program is run as a scheduled task, but not when it's run manually?

Key Points:

The manual task and the scheduled task are both run as same user (and same password).

The scheduled task does begin, but the connection breaks.

Some initial data is transferred.

The program is rsync with ssh.

Win 2003.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy