Questions tagged [task-scheduler]
319 questions
1
vote
1 answer
Gentle reboot of batch server (Task Schedular)
We have 3 Batch servers running hundreds of scheduled task using the built-in task schedular in Windows (2003R2 and 2012R2)
How do i prepare our servers for a reboot, so i wont interrupting a running tasks?
What im hope exist, is in some way to stop…

Christoffer
- 43
- 1
- 3
1
vote
1 answer
Task Scheduler - Run a process every hour except at designated time
I'm using Windows Server 2008 R2
I'd like to schedule to run a particular process at 40 minutes on hourly basis, except on Sunday at 2:40AM.
How would one set up the trigger for this in Task Scheduler?

TtT23
- 127
- 1
- 2
- 14
1
vote
0 answers
Trigger a scheduled task if specific event is logged in AD FS 2.0 event log
I am trying to use Task Scheduler to monitor an AD FS 2.0 event log on an AD FS 2.0 proxy which is located in a DMZ on a Windows 2008 R2 server. I am trying to monitor the log for a specific Event ID and data. I know the format works because I am…

SOSidb
- 308
- 1
- 5
- 13
1
vote
1 answer
About Completely Fair Scheduler in Linux kernel
Could please somebody help me with my question about The Completely Fair Scheduler in Linux kernel?
I wonder what does it mean - "CFS uses nanosecond granularity accounting and does not rely on any jiffies or other HZ detail. Thus the CFS scheduler…

user16669
- 11
- 1
1
vote
1 answer
Task to delete a directory runs with success but the directory is still there
I have a task in the task scheduler on a Windows 2012 file server. The task has to delete the contents of a temporary general access directory every Sunday night. It runs at the scheduled times and reports success each time but the directory…

Montag451
- 248
- 1
- 4
- 19
1
vote
3 answers
Domain account credentials fails to start scheduled tasks
I have 2 Windows 2000 servers in a domain 'DC', which run numerous windows scheduled tasks under the 'DC\Task-User' account.
These tasks are and have been running successfully in the past couple of years without any account/password modifications.…

neoco
- 13
- 5
1
vote
1 answer
I cannot get the repetition option in task scheduler to work
The task is supposed to run a .js file every minute.
To make this happen, I made the task run every day at 00:00 and repeat every 1 minutes.
However, the task now allways has Status of Running without actually doing anything and the Last Run…

Levi
- 185
- 1
- 2
- 9
1
vote
4 answers
Cannot get Exchange PowerShell script to run under Scheduled Tasks
I have a PowerShell script that works when entered directly into the PowerShell. The PowerShell program is run with the shorcut:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange…

Logan
- 27
- 1
- 2
- 8
1
vote
1 answer
Will a Scheduled Task On Windows Server 2008 R2 work correctly if windows are opened and closed?
I have a batch script that I am currently running on my own Windows 7 computer as a scheduled task. The task runs nightly when my computer is locked. The task launches an Progress OpenEdge session which exports data to a file. Once that is done,…

Bill
- 13
- 2
1
vote
1 answer
Scheduler spikes single core on SMP Ubuntu vm under ESXi
The setup is as follows. Ubuntu-11.10 VM running on an ESXi host. The VM has 3 vCPU assigned.
When running dump (to backup the harddisk) it seems all the processes are assigned to the first vCPU. As we are using compression this loads the vCPU at…

pehrs
- 8,789
- 1
- 30
- 46
1
vote
1 answer
Why do multiple time-based triggers on scheduled task not work as expected?
I have a problem with a task in Windows Task Scheduler on Windows Server 2008 R2 (German):
A task has multiple (here: two) time based triggers. The first trigger is of the weekly type (a fixed time every friday), the second trigger is a once-only…

I'm with Monica
- 115
- 1
- 9
1
vote
2 answers
.cmd in Windows Server 2008 task scheduler w/o highest privileges
Is it possible to run CMD script in task scheduler as a particular user without checkin option "Run with highest privileges"?
Simple test:
Create D:\Admin\Scripts\TestScripts\testscript.cmd
Script is very simple: echo success >…

Vladimir Yumashev
- 11
- 1
- 2
1
vote
1 answer
Get username logging on from task scheduler
I'm using Windows Server 2008 task scheduler to run a task when a user logs on, but I would like some way of the task being able to access the name of the user who is logging on. I don't know if there is an environment variable I can access in the…

wizzardmr42
- 111
- 4
1
vote
2 answers
Accessing the disk under Task Scheduler
I'm running a couple of console applications using task scheduler. These are applications that perform little backoffice tasks and run as C# console applications.
The applications themselves run perfectly well (i.e. one of them outputs emails at the…

Quibblesome
- 187
- 7
1
vote
2 answers
Toggling enabled/disabled on specific triggers in a task in the task scheduler using powershell (or something else)
Related to this question:
Windows Server in UTC, need Task Scheduler to shift tasks with summer time
and this question:
https://stackoverflow.com/questions/11458029/enabling-disabling-tasks-in-task-scheduler-using-a-powershell-script
Is there a way…

Cade Roux
- 375
- 2
- 5
- 18