We have people logging in 24 x 7 unfortunatelly. Makes things a pain to get done during the week. That's why I want this to run during login script.

I think I can make this work the way NTDOC is suggesting.

What I can do to get around the file lock issue when merging to the master file is have the script keep track of the log files that fail to merge and then continue to try until the master file is not locked.

Though, if I go through all that trouble why not just have it do that in the login script in the first place. I feel like I'm chasing my tail here.