Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Feb 2001
    Melbourne, Victoria, Australia
    Thanked 0 Times in 0 Posts

    Scheduled task with a UNC path

    If I type:<pre>at mycomputer 14:00 otherserverpathbatchfile.bat</pre>

    the scheduled event is entered correctly on my PC. When the event triggers, it is deleted, but does not execute and there is no evidence as to why.
    I saw an article implying that the scheduler wakes up as LOCAL SYSTEM and has no network access, how do I change this?
    Ultimately I want to schedule the following from within a batch file<pre>at myserver 14:00 otherserverpathbatchfile.bat</pre>


  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Cincinnati, Ohio, USA
    Thanked 0 Times in 0 Posts

    Re: Scheduled task with a UNC path


    Try this:
    <pre>at mycomputer 14:00 cmd /c "otherserverpathbatchfile.bat"</pre>

    This will run the batch file in a command window and then terminate. You may also want to add a line to the BAT file for testing that dumps text to an output file (such as ECHO SUCCESS! Cut.txt), to provide confirmation of whether the batch executed or not.

    When working with BAT files, I always insert PAUSE statements in the file for debugging so that I can step through the process and make sure that it is working.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts