Windows Vista Forums

Scheduled Tasks Not Working All of a Sudden

  1. #1


    childofthe1980s Guest

    Scheduled Tasks Not Working All of a Sudden

    Hello:

    I have a scheduled task running overnight on Windows Server 2003. The
    administrative user that configures and "runs" this task remains logged onto
    the server, so that the task successfully runs. And, this task has run
    successfully every night for months.

    Over the last two nights, ithough, it has not run. I do not know why nor
    are the logs mentioning anything pertinent as usual.

    Any ideas as to why? The task runs a .cmd (macro) file. When I run this
    file by itself, it runs perfectly. It's just that I cannot get the Scheduled
    Task to run.

    I recreated the task, stopped and started SQL, and stopped and started the
    Task Scheduler service.

    childofthe1980s

      My System SpecsSystem Spec

  2. #2


    Dave Patrick Guest

    Re: Scheduled Tasks Not Working All of a Sudden

    The fact you have to stay logged on for it to successfully run indicates
    there's something fundamentally wrong with the task (mapped drives, etc.)

    Scheduled Tasks|Advanced|View Log may provide some details. If the job
    connects to another machine you may need to add the user/ group 'logon as
    batch job' rights (server side). Control Panel|Admin Tools|Local Security
    Policy\Local Policies\User Rights Assignments
    "Log on as a batch job"

    If the task completes but the job does not then there is a problem in the
    job itself. Remember that if it involves network resources to make sure the
    user account has permissions to the resources and also use UNC paths as
    mapped drives won't natively exist when no one is logged on.


    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect

    "childofthe1980s" wrote:

    > Hello:
    >
    > I have a scheduled task running overnight on Windows Server 2003. The
    > administrative user that configures and "runs" this task remains logged
    > onto
    > the server, so that the task successfully runs. And, this task has run
    > successfully every night for months.
    >
    > Over the last two nights, ithough, it has not run. I do not know why nor
    > are the logs mentioning anything pertinent as usual.
    >
    > Any ideas as to why? The task runs a .cmd (macro) file. When I run this
    > file by itself, it runs perfectly. It's just that I cannot get the
    > Scheduled
    > Task to run.
    >
    > I recreated the task, stopped and started SQL, and stopped and started the
    > Task Scheduler service.
    >
    > childofthe1980s

      My System SpecsSystem Spec

  3. #3


    Pegasus [MVP] Guest

    Re: Scheduled Tasks Not Working All of a Sudden



    "childofthe1980s" <childofthe1980s@newsgroup> said this in
    news item news:FF3E8C0B-727A-4A4F-A666-BE62888EBF64@newsgroup

    > Hello:
    >
    > I have a scheduled task running overnight on Windows Server 2003. The
    > administrative user that configures and "runs" this task remains logged
    > onto
    > the server, so that the task successfully runs. And, this task has run
    > successfully every night for months.
    >
    > Over the last two nights, ithough, it has not run. I do not know why nor
    > are the logs mentioning anything pertinent as usual.
    >
    > Any ideas as to why? The task runs a .cmd (macro) file. When I run this
    > file by itself, it runs perfectly. It's just that I cannot get the
    > Scheduled
    > Task to run.
    >
    > I recreated the task, stopped and started SQL, and stopped and started the
    > Task Scheduler service.
    >
    > childofthe1980s
    Let's have a look at the task itself!


      My System SpecsSystem Spec

Scheduled Tasks Not Working All of a Sudden

Similar Threads
Thread Forum
Where are kept Scheduled tasks?
Where the scheduled task are stored? I need to transfer them from one computer to the other. Thanks, Jack
Vista General
scheduled tasks with WMP or MCE
Basically I am trying to get my pc to turn on from standby into MCE with live TV every weekday morning to wake me up. I created this task in XP...
Vista General
Scheduled Tasks
Hello, is there a way to open scheduled tasks in remote computers? Like in Windows XP/2003, where you can see all the shared folders, printers...
Vista General
Scheduled Tasks
In Windows XP my tasks were saved in C:\Windows\Tasks. I included this folder in my daily backup. Where are my tasks saved in Vista RTM? Thanks in...
Vista performance & maintenance
Re: scheduled tasks
Hello, Under scheduled tasks, when it asks you to type the program to run, type: cleanmgr /sagerun:c assuming drive C is the drive you want...
Vista account administration
scheduled tasks
trying to get organised...just downloaded latest Winodws update Beta / Vista which probably has nothing to do with my query. Trying to schedule a...
Vista performance & maintenance
scheduled tasks
trying to get organised...just downloaded latest Winodws update Beta / Vista which probably has nothing to do with my query. Trying to schedule a...
Vista performance & maintenance