Task Scheduler won't execute a task

Discussion in 'Windows Vista Administration' started by SHIPP, Oct 1, 2007.

  1. SHIPP

    SHIPP Guest

    I have the following vbscript to execute an Access program every day.

    dim accessApp
    set accessApp = createObject("Access.Application")
    accessApp.OpenCurrentDataBase("K:\SUPPLY\SHARED\All\0MikeShipp\SchedJob.mdb")


    accessApp.Run "sDownload"
    accessApp.Quit
    set accessApp = nothing

    When I double click the icon the program runs fine. However, when I execute
    it from the Task Scheduler I get the status "Could Not Start" and it does not
    execute. Any ideas would be appreciated. Thanks.
     
    SHIPP, Oct 1, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.