Questions tagged [task-scheduler]

311 questions
5
votes
1 answer

If I disable a Windows task in task scheduler will it stop the current task that's running too?

Let's say I have scheduled Task A in Windows Server task scheduler, and it's set to run 6 times a day. I manually run it 20 minutes before it's about to run next, but I forget that it's going to take about 20 minutes to run so I don't want it to run…
5
votes
1 answer

Stop a task in Windows 2008 Task Scheduler if it runs longer than 15 minutes?

In the Settings tab of a Task in Task Scheduler Windows 2008 and Win8 you can specify additional settings that affect the behavior of your task. The setting for "Stop the task if it runs longer than:" only allows as low as 1 hour but is there any…
Mouffette
  • 495
  • 7
  • 11
5
votes
2 answers

Task Scheduler Cannot Apply My Changes - Adding a User with Permissions

When I login to the server using a domain account with administrator privileges and create a task in the Task Scheduler, I am unable to successfully save the Task once I select the following options: "Run whether the user is logged on or not" and…
Aaron
  • 199
  • 1
  • 1
  • 9
4
votes
1 answer

Server 2016 Scheduled Task fails on specific hardware model with error 0x8007052e

I've got a strange problem relating to basic Windows Scheduled tasks that has baffled me for a few weeks now. These jobs fail to run on some servers, but work on others which are running on different hardware/VMs platforms. Initially this was a…
4
votes
3 answers

Windows Service vs. Task Scheduler with startup trigger

I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service. I use an old laptop with Windows 10 as a server by…
user3220145
  • 41
  • 1
  • 2
4
votes
1 answer

GPO for scheduled tasks not applying to certain servers, no errors in logs

I have two servers out in an OU that are not taking scheduled tasks as specified in the GPO. The same GPO applies correctly to other machines in the same OU with the same permissions, so I don't believe it to be a permissions or routing issue. The…
4
votes
3 answers

All of my scheduled tasks are failing with error code 0xE0434352 on Windows Server 2008 R2

I have many scheduled tasks on a Windows Server 2008 R2 box, running a few different programs with various command line options. Last night, they all started failing with the last run result of 0xE0434352, which is the exception code for all .NET…
dsolimano
  • 1,290
  • 2
  • 14
  • 26
4
votes
1 answer

How to get login username of the login that triggerred a task in the task scheduler

In the Windows 7 task scheduler, I have a task that runs when any user logs on. This task is run as Administrator so it can get the proper priviliges and runs a bat file. I would like to pass in the username (userid) of the user that logged in,…
ciso
  • 217
  • 3
  • 14
4
votes
1 answer

AT command w/ 2008 R2 unexpectedly schedules task as repeating

In my organization we recently upgraded some servers from Windows Server 2003 to 2008 R2. In doing so we found a strange bug in how the AT command works. This is critical to an internally developed tool that deploys remote tasks to a large number…
spoulson
  • 2,173
  • 5
  • 22
  • 30
4
votes
1 answer

Run a scheduled task as an unprivileged user remotely

I need to allow a group of unprivileged users to trigger a predefined scheduled tank on a Windows Server 2008 R2 host. I seem unable to find the respective rights to do so. Upon an attempt to connect to the remote Task Scheduler, the remote system…
the-wabbit
  • 40,319
  • 13
  • 105
  • 169
4
votes
4 answers

Task Scheduler just decides it doesn't want to run a task anymore

I set up a task in Server 2012 to run a script every weekday. It will work for anywhere from a few weeks to a few days, then just not even try to run it anymore. Status: Ready Triggers: At 7:30 AM every Monday, Tuesday, Wednesday, Thursday, Friday…
Tamerz
  • 412
  • 3
  • 6
  • 14
4
votes
2 answers

How to get eventlog information in a scheduled task email?

I have a scheduled task that sends a email when something happens on a application. Now I want to send the message details of the event also in the email. How to do that? In Windows Server 2008 R2 with the Task Scheduler.
marko
  • 179
  • 1
  • 3
  • 10
4
votes
2 answers

Windows Server 2008 Task Scheduler Tasks Not Executing

I've been having an intermittent problem for some time now with the Windows Task Scheduler that I can't work out. I use the task scheduler to run a C# app I've written that has various plugins used to ensure production systems are working. This…
omatase
  • 141
  • 2
4
votes
2 answers

What is the impact of increasing the httpd process priority (negative nice)?

Renicing a process to a negative nice level increases the process's scheduling priority. High priority processes are run before low-priority processes. They are also allowed to run longer before being pre-empted (they get longer time-slices). On a…
Daniel S. Sterling
  • 1,574
  • 2
  • 10
  • 13
4
votes
1 answer

Why does Task Scheduler NOT re-run successfully completed tasks

I am using Task Scheduler on Windows 2008 x64. I have 3 tasks, running every night on different times without overlapping. It works for some days - usually 2-3 up to 10 (it's really random), then it stops running the tasks. When I look at the…
Teo
1 2
3
20 21