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.   


  3. #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

  4. #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? Vista General
Scheduled Tasks Vista performance & maintenance
Re: scheduled tasks Vista account administration
scheduled tasks Vista performance & maintenance
scheduled tasks Vista performance & maintenance