Questions tagged [task-scheduler]
319 questions
2
votes
5 answers
Server 2008 Task Scheduler and a CMD file
Task Scheduler - I have a .cmd file I'm trying to execute on a regular basis through Task Scheduler. I've set the task so that it points to the cmd file. I want the task to execute even when no one is logged in. I've set the credentials…

Mark Smith
- 21
- 1
- 1
- 2
2
votes
0 answers
How to force schtasks to return messages in English
I'm using a tool schtask to do some scheduled tasks management (under win xp, 7, 2008) (mainly I need list of scheduled task). I query it from my code and parse messages returned by it. Recently I stumble upon a problem because on NON English…

Darqer
- 299
- 1
- 3
- 10
2
votes
2 answers
AT jobs not running
Ubuntu 10.04 Server
I am using at to have a bash script schedule itself to run again a particular interval after it completes: (here is the last line of that script)
echo "$0" | at tomorrow + 5minutes
The job gets scheduled, but does not run. When…

yakatz
- 1,213
- 4
- 12
- 35
2
votes
4 answers
Why would Windows Task Scheduler spawn multiple instances of the same task that run into each other?
Overview:
I use Windows Task Scheduler to run automated tasks. Occasionally I will see that randomly a task has failed to perform its duties. When I check Task Scheduler to see what has occurred in the history log, I see that for some reason, when…

swagner88
- 466
- 2
- 5
- 10
2
votes
2 answers
Vista Windows Scheduler task starts failing, and then never works again
I have a scheduler task setup to run every hour, to update a web server. It runs each hour correctly. But after a reboot, the task always starts to fail: The error is:
Task Scheduler failed to start "\Website Refresh" task for user…

jm.
- 125
- 3
- 6
2
votes
2 answers
Schedule Windows Server 2008 R2 to boot and shutdown
I just set up Win Server 2008 R2 + SQL Server 2008 R2, and i'd like to schedule two tasks.
One for shutting it down, or putting it to hibernate at a certain time, and one to wake him up.
Both tasks should run every day.
For booting up the system i…

Levi Kovacs
- 123
- 1
- 1
- 5
2
votes
1 answer
Windows 2008 R2 Task Scheduler Failure
I have an application (.exe) which I am running via a scheduled task on Windows Server 2008 R2.
The task runs fine but when the .exe returns a non-zero exit code the task is still successful when it should fail.
I get this message:
Task Scheduler…

Jonathan Parker
- 131
- 2
- 8
2
votes
1 answer
Scheduled task does not run on WIndows 2003 server on VMWare unattened, runs fine otherwise
Scheduled task does not run on Windows 2003 server on VMWare. The same setup runs fine on standalone server.
Test below explains the problem. We really need to run a more complex bat file, but this shows the issue.
I have a bat file that…

lnm
- 29
- 2
2
votes
2 answers
How to run a cygwin executable with Windows TaskScheduler without opening a terminal?
Using Windows XP Task Scheduler, I've scheduled the execution of a cygwin program (C:\cygwin\bin\svn.exe update). It is working fine, but when it executes, a terminal window titled svchost.exe opens. It is very annoying.
Is it possible to execute…

neves
- 1,230
- 2
- 12
- 16
2
votes
3 answers
Alternative for Windows Server Task Scheduler for Linux
We've been switching our server from Windows to Linux. What can we use as alternative to Windows Server Task Scheduler?
Regards,
Alexey Zakharov

Alexey Zakharov
- 179
- 1
- 1
- 6
2
votes
3 answers
Windows 2008 Task Scheduler doesn't show cmd window when task executes
When I schedule a task to execute using the Windows 2008 Task Scheduler, it always executes behind the scenes and I am unable to see the output of it. Generally I execute a bunch of .bat files and I'm used to seeing the cmd window pop up when the…

ep4169
- 157
- 2
- 4
- 9
2
votes
2 answers
How does the random delay option work?
I create a scheduled task that runs every 5 hours and enabled the "Delay task for up to (random delay)" option for 2 hours. A found a few problems with this but before I start making changes I'd like to better understand what is happening versus my…

Canislupus
- 31
- 2
1
vote
1 answer
Scheduled task runs twice after DST
We have a process in Task Scheduler that runs at 8:10am on certain days of the month. This has worked fine for years. We u/ged to Server 2019. Then, after this year's DST switch over and server upgrade, this task runs at 8:10am and 9:10am. Per this…

asp316
- 133
- 5
1
vote
1 answer
How to change linux default scheduling method
I've a jenkins server and running a lot of CPU bound compilations. I want to change the scheduler from SCHED_NORMAL to SCHED_BATCH. I know it can be done with chrt but I want the system to use it by default for all jenkins jobs (and perhaps all…

iveqy
- 111
- 1
1
vote
1 answer
Windows Server 2019 scheduled tasks must be in future
As a follow on to the Windows Server 016 scheduled task must be in future, can anyone confirm if the same quirk exists in Windows Server 2019?
When I was tidying up the Task Scheduler Library with some folders to group together tasks, I used the…

Cameron
- 21
- 1
- 3