Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running a couple of batch files via Task Scheduler that call rsync.

The .bat files work great when run manually and appear to be running fine via TS as well. HOWEVER, it does NOT open a cmd window so I can visibly see the progress as it syncs the files.

I do NOT have them set as hidden. Is there any way to "turn the window on"? I'd like to be able to monitor what's going on (I'm just a control freak :P)

share|improve this question
add comment

1 Answer

One of the gotchas of scheduled tasks is, that tasks can run as different users - essentially in their own session. They are usually not desktop-interactive processes. You can make this happen by making the task run only if the user is logged in. Another thing is that maybe you could create a batch task that starts the other batch files, there are different commands that allow you to specify how a batch file or executable runs. "start" is one that provides a bunch of options, "call" is another - for batch files specifically.

Another option is to try Yintersync (yinter.net), free, for Windows, works with rsync, is very stable, supports shadow copies. It was the only working solution I could find that was both stable and fast enough.

share|improve this answer
    
Ahhh, interesting quirk, thanks! When I tell it to only run if the user is logged in then I see the cmd box. When I leave it set to run regardless of if the user is logged in, the box is hidden. Thanks so much! –  Stephani Jan 25 '12 at 17:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.