1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

AT Scheduler help needed

Discussion in 'Legacy Windows' started by tgraessle, 2005/03/14.

Thread Status:
Not open for further replies.
  1. 2005/03/14
    tgraessle

    tgraessle Inactive Thread Starter

    Joined:
    2005/03/14
    Messages:
    1
    Likes Received:
    0
    I have a simple batch program that I attempt to kick off at a certain time (couple of minutes in the future) see below:

    at 8:48pm c:\batch\avixprt2.bat

    after I schedule this I type AT again at a command prompt and see that the job is set to run for today at 8:48pm

    at 8:48 pm I watch and wait, after about a minute I go back to a command prompt and type AT. Now the job shows that it is to run tomorrow at 8:48 pm.

    I have tried setting this with /interactive switch. I have checked and doublechecked permissions.

    When I click on avixprt2.bat directly the program runs fine, it is only when using the scheduler. Any help would be appreciated.
     
  2. 2005/03/18
    JoeHobart

    JoeHobart Inactive Alumni

    Joined:
    2004/05/19
    Messages:
    919
    Likes Received:
    1
    change it to notepad instead of your batch file, does it work?

    if you use a one line bat file that does dir c:\ >foo.txt, does the file get created?

    Could you use the above to add simple instrumentation to your batch file to figure out what went wrong?

    Have you considered enabling process tracking audits, to see whats not working and why?
     

  3. to hide this advert.

  4. 2005/03/21
    NetDoc

    NetDoc Inactive

    Joined:
    2005/01/09
    Messages:
    215
    Likes Received:
    0
    Try this syntax.

    at 8:48pm "c:\batch\avixprt2.bat "

    DRD
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.