A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
Questions tagged [scheduled-task]
662 questions
3
votes
2 answers
scheduled task returns error 0xff despite success
I have a scheduled task that runs a batch file, and even though I can see the results of it completing successfully, according to the task scheduler it fails with error 0xff, every time.
I have other batch files scheduled that also complete…

Kev
- 984
- 4
- 23
- 46
3
votes
1 answer
Using Windows Server, how do I schedule an hourly task that will call a URL WITH an authorization header?
I need to schedule a task that will call a given url hourly. The URL doesn't return anything so it is fairly simple HOWEVER this URL requires an authorization header:
Authorization: Basic {SOME AUTH CODE}
How do I append this header to the request…

Matt Cashatt
- 235
- 3
- 7
3
votes
1 answer
How to kill a running scheduled task?
I have scheduled a task on Windows Server 2008 R2 Task Scheduler that kicks off a python script. However, when the task is running, I don't see the process spawned in the Task Manager and therefore am unable to kill the task.
I know the task was…

Matej
- 141
- 1
- 1
- 4
3
votes
2 answers
View Scheduled Tasks (local and remote) on Windows Server 2008 R2
In one of our production nodes which runs on Windows Server 2008 R2, we have noticed that there is a significant delay (5 times normal) in processing requests (by our application running on tomcat) during Saturday mornings (00:00AM till about…

Jay
- 133
- 1
- 1
- 4
3
votes
2 answers
SYSTEM user to schedule tasks on Win 2003 server?Impact?
I wish to schedule a bat file on my Win 2003 server without a password.
The requirement is to run it everyday at a specific time.
We use expiring passwords and do not have a non expiring account.
I plan to schedule this using Scheduled Tasks as a…

user216545
- 31
- 1
3
votes
2 answers
Schedule a Task to Run When Another Completes on Windows Server 2003
On Windows Server 2003, I have a task that is scheduled to run every morning at 12 am. The time it takes to run varies since it is a search engine spider that crawls a website. I want to have a batch script run when the task ends. Is there a way to…

Mark
- 2,041
- 6
- 19
- 18
3
votes
2 answers
Stopping a scheduled task with WMIC
I need to find some method for disabling a scheduled task on a remote machine and waiting until that task has stopped executing if it happens to be running at the moment. I'd like to do this through WMIC if possible. This will be integrated into a…

p.s.w.g
- 185
- 2
- 9
3
votes
1 answer
Windows Service Console app user
I've created a very simple C# one liner app which keeps an IIS/Entity Framework web application warm by simply loading the page (Using the built in IIS Warm up just wasn't working for me). I want to run it as a scheduled service once every 5…

Chris Nevill
- 143
- 5
3
votes
0 answers
How to run a Scheduled Task as NetworkService in Windows Server 2003?
How do i configure a scheduled task to run as NT AUTHORITY\NetworkService in Windows Server 2003?
Background
Even though the account is known as NetworkService, the full name is NT AUTHORITY\Network Service.
On Windows Server 2008 R2, when choosing…

Ian Boyd
- 5,293
- 14
- 60
- 82
3
votes
2 answers
Scheduled task fails, but runs fine when triggered manually
We have a 2008 R2 server with a scheduled task that runs a .bat file which executes a call to a Java app. The task triggers just fine, but stops executing anything after it creates the log file. Here's the details on how it's set up:
It runs on a…

Ant
- 143
- 2
- 2
- 6
3
votes
2 answers
My PowerShell script won't save to file when running using Task Scheduler; do I need to specify a specific argument?
I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network.
The problem is that the new file is never created/saved. If I run the script locally (through cmd.exe,…

EGr
- 609
- 4
- 14
- 29
3
votes
3 answers
runas without asking for a password
On a Windows server which is in a domain, I have a script I run from scheduled tasks.
I want this script to be run under a mydomain\peter user account. It is simple to do it with scheduled tasks, if you know Peter's password. And once done, the…

Gregory MOUSSAT
- 1,673
- 2
- 25
- 50
3
votes
1 answer
Win2K8 R2 Scheduled Task Fault Tolerance
I have two identical servers running Windows 2008 R2. I am using DFS Replication to keep a few shares in sync between the two servers. Each server is a Domain Controller and each server can function in the event the other becomes unavailable…

Kilo
- 1,564
- 13
- 21
3
votes
2 answers
How do I schedule a task to run every hour indefinitely on Server 2003
I am moving a scheduled task from a Windows 7 machine to a Windows Server 2003 machine.
On Windows 7 I can configure my task to run every hour indefinitely by setting up a custom trigger like so:
On Windows Server 2003, I assume I need to use the…

JMK
- 778
- 2
- 7
- 19
3
votes
1 answer
Scheduled task based on Microsoft patch release cycle
I have a simple powershell script which unapproves all patches based on computer group name in WSUS which works great.
All of our servers patch on a specific Day/Week/Time starting on Week0-Wednesday which would be the Wednesday after Microsoft…

floyd
- 1,530
- 4
- 19
- 30