Loading ...
Sorry, an error occurred while loading the content.

Re: [BATCH WORLD] How to query time and run at certain time with conditions

Expand Messages
  • Michael Marquart
    This small binary should help. On Thu, 06 Dec 2001 17:32:53 -0000, smithsht ... -- Regards, Michael -- Honk if you love peace and
    Message 1 of 2 , Dec 6, 2001
    View Source
    • 0 Attachment
      This small binary should help.

      On Thu, 06 Dec 2001 17:32:53 -0000, "smithsht" <shon@...>
      wrote:

      >Hi,
      >This script has gone through several revs on this board. Now I need
      >to take my existing script (below) and edit it in the follwing ways:
      >Ensure host time is correct ("net time \\time-server /set /y"), query
      >time command, check to see if the time is within a certain window
      >(10:45pm - 4am). If Yes, then run script in it's entirety. If No,
      >goto :end of script.
      >The idea is that if within time window, tape backup is cold; if not
      >within time window, we at least have a hot backup.
      >All help is greatly appreciated as always.
      >shon

      --

      Regards,
      Michael

      --> Honk if you love peace and quiet.
    Your message has been successfully submitted and would be delivered to recipients shortly.