Idltoe Session Timeout

Get help for specific problems
Posts: 1
Joined: 31 Oct 2012

mysticryuujin

I want to run a batch job every 180 seconds to sync a local share to a network share. I created a batch job, created a scheduled task. When I do this, the session doesn't close after the sync job is done. Leaving too many connections to the remote server. When I go to the remote server and do net sessions I see a bunch of sessions from the batch job. As it is a Server 2003 Web Edition, I can only have 10 active sessions.

I have edited the timeouts through net config server /autodisconnect and through the local policy, set them all to 1 minute (60 seconds). This appears to solve my problem but it's not very optimal.

Does anyone have any other ideas on how I can disconnect the session after the sync job is done?
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

You could call the .ffs_batch from a .cmd file and add a

net use /delete \\server\share

after the sync.