Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Windows Server 2008
 Task Scheduler
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Michael
Old Timer

USA
608 Posts
Status: offline

Posted - 05/10/2012 :  09:35:01 AM  Show Profile  Reply with Quote
Two things:
How can I get the Task to show when they run? If I do a manual run it does not show the Dos screen. If the auto time starts the Task it does not show?
Also I have a couple of Task set to run Batch files that do Xcopy of data to another server each night. The Task Scheduler shows they ran successful each day 0x0 and states ran successful. When I look at the destination it does not have the updated data. If I run the same Batch from command prompt it copies the file correct (except for open ones, but they are closed at night).
Thanks,
Michael

aed
Honorable But Hopeless Addict

USA
1213 Posts
Status: offline

Posted - 05/10/2012 :  10:43:26 AM  Show Profile  Reply with Quote
You change the scheduled task to "Run only when user is logged on", it should give an interactive window when you manually run it. Also, in the bat file, output the Xcopy to a log file so you can see if it's having problems while it's running.
Go to Top of Page

Michael
Old Timer

USA
608 Posts
Status: offline

Posted - 05/10/2012 :  1:42:57 PM  Show Profile  Reply with Quote
Thanks AED,
I will give it a try to see what is happening, but I like to keep the task set to run even if I am not logged on.
How would I output the xcopy to a log file?

Thanks
Michael
Go to Top of Page

aed
Honorable But Hopeless Addict

USA
1213 Posts
Status: offline

Posted - 05/10/2012 :  2:06:44 PM  Show Profile  Reply with Quote
At the end of Xcopy command put a >> "filename.log" and it will maybe give some indication of what's happening but then again It may only report how many files were copied. Robocopy has a nice logging feature, along with several others, so you might want to look at using it.

Edited by - aed on 05/10/2012 2:07:17 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.19 seconds. Snitz Forums 2000