[windows2000] Re: batch file question

  • From: "Dennis Appelboom" <dennis.appelboom@xxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 9 Nov 2004 11:50:37 +0100

Hi Angus,

 

Problem is that I can't really use the task scheduler, since it can only 
schedule jobs for hours or days, and I want it to run every 5 minutes.....

But I will try to find another scheduler tool that will allow me to add 
credentials and has an option to schedule tasks every 5 minutes.

 

Regards,

 

Dennis.

 

  _____  

From: Angus Macdonald [mailto:Angus.Macdonald@xxxxxxxxxxxxxxxxxxx] 
Sent: dinsdag 9 november 2004 11:35
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: batch file question

 

Start the scheduled job with a domain account that has access to the remote 
share.

The old scheduler (using the AT command) ran all scheduled jobs under a single 
login but the newer Task Scheduler uses per-job credentials.

        -----Original Message-----
        From: Dennis Appelboom [mailto:dennis.appelboom@xxxxxxxxxx]
        Sent: 09 November 2004 10:29
        To: windows2000@xxxxxxxxxxxxx
        Subject: [windows2000] batch file question

        Hi,

        I am trying to copy over a file from one workgroup server to another 
with a batch script. 

        There is a share on the target server, and I use the following to copy 
over the file:

        Copy c:\sourcedire\sourcefile \\targetserver\share 
<file:///\\targetserver\share> 

        This works fine when I start the batch script manually, but when I try 
to schedule it, it doesn't work.

        I even added the full path name for the copy command, but that doesn't 
help either.

        I guess that is has to do with the fact that the system account runs 
the script when scheduled, and that it might cause problems.....

         

        Is there something obvious that I am overlooking, or do I need to do 
this differently?

        Regards,

        Dennis.

Gallai'r e-bost yma gynnwys gwybodaeth gyfrinachol a/neu ddeunydd hawlfraint. 
Os ydych chi'n meddwl eich bod wedi derbyn yr e-bost yma drwy gamgymeriad rydym 
yn ymddiheuro am hyn; peidiwch os gwelwch yn dda â datgelu, anfon ymlaen, 
printio, copïo na dosbarthu gwybodaeth yn yr e-bost yma na gweithredu mewn 
unrhyw fodd drwy ddibynnu ar ei gynnwys: gwaherddir gwneud hynny'n gyfan gwbl a 
gallai fod yn anghyfreithlon. Rhowch wybod i'r anfonwr fod y neges yma wedi 
mynd ar goll cyn ei dileu.

Mae unrhyw safbwynt neu farn a gyflwynir yn eiddo i'r awdur ac nid ydynt o 
anghenraid yn cynrychioli safbwynt neu farn Ymddiriedolaeth GIG Gogledd 
Orllewin Cymru.

Gallai cynnwys yr e-bost yma gael ei ddatgelu i'r cyhoedd o dan Gôd Bod yn 
Agored y GIG neu Ddeddf Rhyddid Gwybodaeth 2000. Nid oes modd gwarantu 
cyfrinachedd y neges ac unrhyw ateb. 

Bydd y neges yma ac unrhyw ffeiliau cysylltiedig wedi cael eu gwirio gan 
feddalwedd canfod firws cyn eu trosglwyddo. Ond rhaid i'r sawl sy'n derbyn 
wirio rhag firws ei hun cyn agor unrhyw ymgysylltiad. Nid yw'r Ymddiriedolaeth 
yn derbyn unrhyw gyfrifoldeb am unrhyw golled neu niwed a allai gael ei achosi 
gan firws meddalwedd.

 

This e-mail may contain confidential information and/or copyright material. If 
you believe that you have received this e-mail in error please accept our 
apologies; please do not disclose, forward, print, copy or distribute 
information in this e-mail or take any action in reliance on its contents: to 
do so is strictly prohibited and may be unlawful. Please inform the sender that 
this message has gone astray before deleting it.

Any views or opinions presented are to be understood as those of the author and 
do not necessarily represent those of the North West Wales NHS Trust.

The contents of this e-mail may be subject to public disclosure under the NHS 
Code of Openness or the Freedom of Information Act 2000. The confidentiality of 
the message and any reply cannot be guaranteed.

This message and any attached files will have been checked with virus detection 
software before transmission. However, recipients must carry out their own 
virus checks before opening any attachment. The Trust accepts no liability for 
any loss or damage, which may be caused by software viruses.

Other related posts: