1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Scheduled Tasks not Running

Discussion in 'Windows Vista' started by Christopher Beard, Jun 22, 2009.

  1. Hello! I have recently upgraded from Windows XP to Vista and have been trying
    to troubleshoot why some of my scheduled tasks from XP won't run when in the
    Visa task scheduler. These scripts are calling either calling a VBScript or
    are using a FOR loop. I could schedule them on XP but get a "file not found"
    error when they run through the Task Scheduler on Vista. If I manually run
    the scripts on Vista, they work just fine. Does anyone know of something that
    has changed with the Vista Task Scheduler?
     
  2. Jon

    Jon Guest

    "Christopher Beard" <ChristopherBeard@discussions.microsoft.com> wrote in
    message news:A03AC896-6F33-4329-BE99-74CAAE9D79D7@microsoft.com...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Hello! I have recently upgraded from Windows XP to Vista and have been
    > trying
    > to troubleshoot why some of my scheduled tasks from XP won't run when in
    > the
    > Visa task scheduler. These scripts are calling either calling a VBScript
    > or
    > are using a FOR loop. I could schedule them on XP but get a "file not
    > found"
    > error when they run through the Task Scheduler on Vista. If I manually run
    > the scripts on Vista, they work just fine. Does anyone know of something
    > that
    > has changed with the Vista Task Scheduler?<!--colorc--><!--/colorc-->


    Sounds like the 'path' to the script is incorrect. Try putting it in quotes
    if it contains spaces eg

    "C:\Some Folder\MyScript.vbs"

    --
    Jon
     
  3. I tried that, but unfortunately it didn't change anything. The scripts still
    run fine if I manually execute them and fail when they are scheduled with the
    error "file not found."

    "Jon" wrote:
    <!--coloro:blue--><span style="color:blue <!--/coloro-->
    >
    > "Christopher Beard" <ChristopherBeard@discussions.microsoft.com> wrote in
    > message news:A03AC896-6F33-4329-BE99-74CAAE9D79D7@microsoft.com...<!--coloro:green--><span style="color:green <!--/coloro-->
    > > Hello! I have recently upgraded from Windows XP to Vista and have been
    > > trying
    > > to troubleshoot why some of my scheduled tasks from XP won't run when in
    > > the
    > > Visa task scheduler. These scripts are calling either calling a VBScript
    > > or
    > > are using a FOR loop. I could schedule them on XP but get a "file not
    > > found"
    > > error when they run through the Task Scheduler on Vista. If I manually run
    > > the scripts on Vista, they work just fine. Does anyone know of something
    > > that
    > > has changed with the Vista Task Scheduler?<!--colorc--><!--/colorc-->
    >
    >
    > Sounds like the 'path' to the script is incorrect. Try putting it in quotes
    > if it contains spaces eg
    >
    > "C:Some FolderMyScript.vbs"
    >
    > --
    > Jon
    >
    >
    >
    > <!--colorc--><!--/colorc-->
     
  4. Jon

    Jon Guest

    "Christopher Beard" <ChristopherBeard@discussions.microsoft.com> wrote in
    message news:D534D84A-F77A-49AC-A9E0-EB8AB97DF9C6@microsoft.com...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    >I tried that, but unfortunately it didn't change anything. The scripts
    >still
    > run fine if I manually execute them and fail when they are scheduled with
    > the
    > error "file not found."
    ><!--colorc--><!--/colorc-->


    Odd. Dunno, unless your scripts themselves are also referencing files and
    there's some issue with that (?)

    --
    Jon
     

Share This Page