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
16
votes
5 answers
"The user account does not have permission to run this task"
I'm trying to get a scheduled task to run on Windows Server 2008. It has been working fine for months, and then hung, so I killed it, and now I can't get it to start. (In case it's not obvious, I'm not a Windows sysadmin by any stretch of the…
Ken
15
votes
3 answers
Scheduled Jobs during hours of autumn time change
I'm wondering how other people deal with this scenario.
What if you have a job scheduled to run at 1:30 am. In the autumn, when time changes, the hour of 1:00:00 to 1:59:59 repeats itself and so that job would run twice.
Could be Windows Task…

NealWalters
- 1,333
- 8
- 19
- 39
15
votes
4 answers
How to schedule server jobs more intelligently than with cron?
I run a job every minute to reindex my site's content.
Today, the search engine died, and when I logged in there were hundreds of orphan processes that had been started by cron.
Is there another way using some kind of existing software that will…

John
- 153
- 4
15
votes
2 answers
Update password for scheduled task
I have a scheduled task that needs to run as a service account. The service account's password resets every 100 days, so I need to update the password for the scheduled task.
I cannot figure out how to do this. When I select "Change User or Group"…

UserXIII
- 165
- 1
- 1
- 5
14
votes
4 answers
Schedule Windows Task every minute
I need to schedule a Windows task to run a script every minute. In most cases, the script doesn't need to execute anything and exists immediately. When the script needs to execute something, I want it to start the job as quick as possible, thus the…

Dennis G.
- 355
- 1
- 4
- 9
14
votes
3 answers
Is it bad to edit cron file manually?
It is usually instructed to introduce new cron jobs through command lines; but I found it easier (with a better control of current cron tasks) to manually edit (in text editor) the user cron file like /var/spool/cron/crontabs/root.
Is it dangerous…

Googlebot
- 1,047
- 2
- 15
- 30
13
votes
2 answers
How to schedule a task to call a URL
I have an MVC app. I have a controller that when called runs a background process to query Active Directory and updates the database.
http://myapp/BackgroundTask/Run
I want to run this on a schedule (daily) without opening a browser. I see that…

Jack
- 517
- 3
- 5
- 11
13
votes
11 answers
Windows scheduled task fails to complete with error code 0xc000013a
I'm using Windows Server 2003 and have a scheduled task that fails to complete. The task is set to run a Windows Command Script (.cmd) at 3pm each day. The script runs a program that extracts some data from a SQL Server database and uploads that…

Brian Willis
- 3,619
- 4
- 21
- 14
13
votes
8 answers
Program does not run properly as Scheduled Task
Situation
I have a batch script that prepares some files, executes a program (.exe) and then deletes said files.
This task should run hourly, so I'm trying to configure this using Scheduled Tasks. The problem is that the previously mentioned program…

MarioDS
- 223
- 2
- 4
- 15
13
votes
6 answers
Task scheduler ran a task twice
Update: This has now happened two days in a row.
Update: XML of scheduled tasks and images now included.
Two servers located in London, both Windows 2012, have a scheduled task set to run at 3pm Monday to Friday. This has been set up for the last 5…

Ross Buggins
- 198
- 1
- 2
- 9
13
votes
4 answers
How do you restart the Task Scheduler service without rebooting the server?
I am running into an issue with the task scheduler service and I have found that restarting the Task Scheduler service should do the trick in fixing my problem. Unfortunately, I do not have the option in services.msc (as Administrator) to stop,…

codewario
- 548
- 3
- 16
- 36
13
votes
4 answers
How can I prevent a scheduled task from running if the same task is already running?
I have written a php script to check if there are any new files in a folder and, if any new files exist, upload them to a server. These files can be quite large. I want to run this script frequently-let's say every 5 min-as a scheduled task so…

Oren Hizkiya
- 247
- 1
- 2
- 6
12
votes
1 answer
Scheduled restart of a service with powerhshell as non-admin service account
Before I get shot down, I know how to schedule a task, restart a service with powershell or give a non-admin account the privileges to restart a service. That isn't the problem. The problem however is the combination of all these three tasks…

VolrathTheFallen
- 318
- 2
- 11
12
votes
2 answers
List, add, edit, delete Windows Scheduled Tasks from the command-line
Is there a command-line tool that can be used to programatically list, add, edit and delete Windows Scheduled tasks?
I realize that there are better alternatives to Scheduled Tasks, but I need to make changes to an existing set of tasks on a large…

Jon
- 509
- 2
- 5
- 8
12
votes
6 answers
Why is Windows Task Scheduler trying to launch multiple instances?
We have a number of Windows Scheduled tasks that run on one Server 2008 Webserver (not R2) which is in a cluster.
We recently moved from an original webserver Cluster to a new webserver Cluser (Server 2008 - not R2).
The new webserver (in the…

Paul H
- 277
- 2
- 4
- 9