Map the drives in the beginning of the script again. If they are already mapped then it will just give you an error you can ignore
make sure you are using the correct password in the scheduler so it can run the task. If you've recently changed your password, you have to change the password on the scheduler. Make sure the other server isn't busy or down while your task runs. Like if the remote server is running a backup itself, it will slow down or stop your remote backup. --- On Mon, 2/15/10, Jarvis, Matthew <[email protected]> wrote: > From: Jarvis, Matthew <[email protected]> > Subject: [NF] Windows Scripting and/or Windows Scheduled Tasks problem > To: [email protected] > Date: Monday, February 15, 2010, 11:50 AM > The dood that sat in this chair > before me set up a windows script to > copy files from on of our servers to a PC located > elsewhere, as part of > an emergency planning thing. These are forms the ER and/or > hospital > would need access to in case of network or other > failure... > > > > The script works just fine... run it, and the proper dirs > are correctly > updated with all the proper stuff... it be good... > > > > The problem is when this script is scheduled to run off > hours, it starts > but just sits there with a "running" status. I've sat there > in the > morning, afternoon and evening and each time is the same - > the script > fires up, but just sits there not doing anything. > > > > The script copies files to a mapped drive to the target > machine which I > can see is set up properly when viewed in Explorer. BUT the > drive > mapping produces a red 'X' unavailable symbol when the > script is running > under the scheduler. Not so when ran manually. > > > > The user that is logged into the machine running this has > admin rights > to the mapped drive and the destination machine. Same with > ownership of > the script itself. > > > > I am at a loss as to what to look at next. Any > suggestions?? > > > > Thanks, > > > > Matthew Jarvis || Business Systems Analyst > IT Department > McKenzie-Willamette Medical Center > 1460 G Street, Springfield, OR 97477 || Ph: > 541-744-6092 || Fax: > 541-744-6145 > > > > > > -------------------------------------------------------------------------- > Disclaimer: This electronic message may contain information > that is > Proprietary, Confidential, or legally privileged or > protected. It > is intended only for the use of the individual(s) and > entity named > in the message. If you are not an intended recipient of > this > message, please notify the sender immediately and delete > the > material from your computer. Do not deliver, distribute or > copy > this message and do not disclose its contents or take any > action in > reliance on the information it contains. > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/profox > OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech > Searchable Archive: http://leafe.com/archives/search/profox > This message: > http://leafe.com/archives/byMID/profox/69f310c05dd83c48a84ba3769ce1ecf802d5f...@tntriexevs02.triadhospitals.net > ** All postings, unless explicitly stated otherwise, are > the opinions of the author, and do not constitute legal or > medical advice. This statement is added to the messages for > those lawyers who are too stupid to see the obvious. > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

