A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.

learn more… | top users | synonyms (1)

105
votes
11answers
193k views

Run a .bat file in a scheduled task without a window

I have a scheduled task that starts a batch script that runs robocopy every hour. Every time it runs a window pops up on the desktop with robocopy's output, which I don't really want to see. I ...
0
votes
1answer
16 views

Windows Scheduled Task HostName Placeholder

Hi I need to run a service on start up that cannot be run using the system user. (I am using Windows Scheduled Task Manager for this) Under user is there a way to have a placeholder for the hostname ...
18
votes
8answers
15k views

Linux: Schedule command to run once after reboot (RunOnce equivalent)

I'd like to schedule a command to run after reboot on a Linux box. I know how to do this so the command consistently runs after every reboot with a @reboot crontab entry, however I only want the ...
3
votes
2answers
10k views

Permissions for Scheduled Tasks on a Domain Controller

I'm trying to run a Scheduled Task on a 2008 R2 Domain Controller and all was well until I set it into the production environment. I'm running the task as a Domain User that's defined in the "Log on ...
0
votes
0answers
14 views

Disable Disk Fragmentation Analysis - Windows Server 2008 R2 Standard

I have been asked to look into disabling the fragmentation analysis that Windows performs automatically for one of our servers. I have verified that the Disk Defrag tool shows automatic ...
0
votes
2answers
2k views

Server 2008 issue running batch file

For the life of me, I can't seem to get a batch file running in Server 2008 Task Scheduler, despite it not having the common problems I've seen before. Problem so far: I have a batch file that ...
3
votes
5answers
1k views

Exchange PowerShell in a Scheduled Task runs forever

I have a couple of Exchange 2010 PowerShell scripts that I'd like to run as Scheduled Tasks. If I launch PowerShell using "Run as different user" I can run the scripts and they execute correctly. If ...
1
vote
1answer
1k views

Windows user privileges when running scheduled task

I posted a question a while ago about allowing a specific user to start/stop Windows services. Provide a user with service start/stop permissions I decided to revisit the issue. I have no idea what ...
22
votes
5answers
19k views

Process runs slower as a scheduled task than it does interactively

I have a scheduled task which is very CPU- and IO-intensive, and takes about four hours to run (building source code, if you're curious). The task is a Powershell script which spawns various ...
3
votes
3answers
2k views

How can I create a scheduled task from the command line that only runs on demand?

I"m trying to duplicate the steps in this article for creating a shortcut that launches a program without a UAC prompt. I'd like to create the task from the command line, however. Here's the ...
2
votes
2answers
2k views

schtasks - create task with no schedule that runs on demand

I am trying to use schtasks.exe and create a one-time task that runs on demand. I just want to create the task without a schedule but the command schtasks /create /tn TestTask fails with Invalid ...
3
votes
1answer
2k views

Windows Server 2008 Scheduled Tasks not running - 0x80041323 - Reduce Number of tasks running in the specified context?

I am getting the following problem on a number of windows 2008 servers. 0x80041323 Task Scheduler failed to start task \Reporting" in TaskEngine "S-1-5-18:NT AUTHORITY\System:Service:" for ...
4
votes
1answer
1k views

Scheduled Task not Running on Windows Server 2012

I go to Task Scheduler and drill down to Microsoft Then I click on Create Basic Task and go through the wizard At the last page of the wizard I check "Open the Properties dialog for this task ...
0
votes
1answer
55 views

Windows Server 2012 R2 not printing from Task Scheduler

I have a script, written in Python, that generates a PDF document and prints it to network printer. When I execute that script through the cmd line or launch executable .cmd or .bat file, it works ...
1
vote
1answer
48 views

How to hide command window at while running powershell script through the task scheduler?

I have powershell script with GUI form which show message by condition. This script is runnig through the task scheduler every 15 minutes. Every running shows me concole window, then GUI form with ...
4
votes
4answers
535 views

Windows 2008 R2 Not Printing From Scheduled Task

Problem Since the end of support is coming on July 14th for Windows servers 2003 we are moving all of our scheduled tasks to a Windows 2008 R2 server. We use a Microsoft(MS) Access 2003(mdb) ...
2
votes
2answers
48 views

windows scheduled task is killed (timed out) too soon

I have a scheduled task that is configured to be killed 23 hours after starting. When I export the task to XML I can verify this setting because I see the line: ...
2
votes
1answer
1k views

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 ...
1
vote
0answers
49 views

Scheduled Task no longer running: Exception code: 0xe0434352

I had a scheduled task that has ran successfully for over two months. On March 12th/13th the task stopped running and I started to receive the following error each time it tried to run each day ...
0
votes
1answer
20 views

Schedualling a task to run indefinatley

I suppose what I want is closer to a service, but I'd like to know if I could just accomplish this with a scheduled task. I can create a task with these parameters: $trigger = ...
0
votes
1answer
49 views

Windows Task Scheduler don't show execution errors

I'm trying to make a powerscript that will run from time to time through the windows task scheduler. My problem is that the task scheduler do not display the task as failed, even though my script do ...
0
votes
3answers
31 views

Run scheduled task with other domain user

I have a .bat that copies files from source to destination. The source is the local joined server, the destination is a non-joined computer on the network. I need to run this .bat with task scheduler. ...
0
votes
1answer
29 views

What's a good way to schedule scripts that depend on each other? [duplicate]

So, I have a few scripts that need to be executed in order, and they need to wait for the previous script to finish since they need the data it gathers. I thought about putting it all in a single ...
-5
votes
1answer
29 views

cron - How many times the cron job will run when given aterisk(*) on all positions [duplicate]

If we define a cron job with * * * * * /some/task/to/perform, how many times the job will executed in 60 seconds?
0
votes
1answer
37 views

Task Scheduler claims it ran but it did not

I had Task Scheduler start a task at 11:55 PM daily -- same setup on 5 servers. Last night I changed the same job to be run at 2 AM and 7 AM instead. It did not launch either. I know because it ...
3
votes
4answers
12k views

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 ...
12
votes
1answer
3k views

Task Scheduler 2.0: Difference between “Stop task if…”

Using the Task Scheduler in Windows Server 2008 R2 or Windows 2012, etc... What is the difference between this setting: and this setting on the same task: Does one take precedence over the ...
1
vote
2answers
10k views

How do I give a user permisson to view scheduled task history on Server 2008?

I've set up a scheduled task on Server 2008 and want to run it as a user other than the local administrator. So I choose a domain account created specifically for this task and once I've closed the ...
4
votes
4answers
15k views

Robocopy failure with Windows Server 2008 Scheduled Task

So I have a batch script for robocopy. Running this from the command line does exactly what I want. robocopy "D:\SQL Backup" \\server1\Backup$\daily /mir /s /copyall ...
2
votes
1answer
27 views

Back up a database nightly

Question: Is it possible to automate the process of coping a full database every night into the development database on the same server? Software: Windows Server, SQL, SQL Server Management Studio, ...
0
votes
0answers
23 views

Group Policy Scheduled Task not asking for password

I'm trying to deploy a scheduled Task to our Servers via GPO, but something doesn't seem quite right. I want the Task to be run with a Service account, wheter the user is logged on or not. I know that ...
0
votes
1answer
6k views

“No mapping between account names and security IDs was done” when importing Scheduled Tasks In Windows 2008?

OK, I have a Windows 2008 Server scheduled task that runs on system startup. This works fine. But I want to move this task to another box (actually, I'm using Amazon and need this to work on other ...
1
vote
2answers
11k views

Transaction support within the specified resource manager is not started or was shut down due to an error

Got the following error while trying to add, edit or delete a windows schedule task: Transaction support within the specified resource manager is not started or was shut down due to an error. ...
0
votes
0answers
40 views

execute powershell script even if he is already running

I have a powershell script that is scheduled to run when an user account is disabled in Active Directory. My problem is that when i'll use a script in order to disable multiple user accounts (for ex. ...
3
votes
2answers
46 views

How can I check group membership when an user account is deleted ?

I have a scheduled task which executes a PowerShell script when an user account is deleted from Active Directory. Is there a way to check the group membership of that user account ? I have tried with ...
1
vote
1answer
114 views

ColdFusion 11 Scheduled Task not running

I have setup two Scheduled Tasks in the ColdFusion Administrator. When I attempt to run them manually (using the "play" button in the Administrator), the page responds with: This scheduled task ...
-1
votes
1answer
37 views

auto delete disabled AD accounts after xx day

I'm looking for an app that can run to auto delete disabled AD user accounts in a specific OU after say 30 days Any advice will be highly appreciated
0
votes
1answer
36 views

Change passwords for schedule Tasks Daily

I need to schedule a health check script on a particular domain controller , have the service account, everything works. Unfortunately due to firewalls, this script can only be run on a DC, which ...
10
votes
5answers
28k views

How can I schedule a server restart from command line on Windows 2012?

I would like to schedule a one-time server restart, e.g. to finish installing updates early in the morning. How can I do this from the command line on Windows 2012? On Windows 2008, I would have used ...
0
votes
1answer
130 views

Windows Server 2008 R2 Task Scheduler Powershell issue

I am trying to schedule a task which runs a powershell script. This script copy several files from one server to the one which the script is running. If i run the script with an elevated powershell ...
0
votes
0answers
20 views

environment variable 'HOME' value on windows

I have a ruby script running in the context of a scheduled task (windows server 2012r2), running as user "Administrator". Here is the sequence of events which recreates this issue: Create an AWS ...
0
votes
0answers
20 views

Windows Task Scheduler condition not working

I have a service i want to start when windows user logs in. I set a condition to start only if network connection is available, but i'm on AWS EC2 so the connection name keeps changing. I also tried ...
85
votes
5answers
34k views

How do I rename a task in Task Scheduled on Windows Server 2008 R2

I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
10
votes
4answers
26k views

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 ...
2
votes
2answers
4k views

How to schedule a job to run every 10 minutes in TWS

TWS is Tivoli Workload Scheduler. I have scheduled a job, and made it repeatable every 10 minutes. I put it in a job stream with a run cycle of daily. Now, the job runs once every ten minutes on the ...
3
votes
5answers
23k views

Server 2012 R2 Run Program from Task Scheduler not running program

I have a scheduled task that I am trying to run a program (a DB backup program). For reasons unknown I am unable to actually get the program to run, even though the task log says everything was run ...
2
votes
1answer
2k views

Scheduled task deployed via GP, that runs a powershell script on a network share by a AD service account

I've created a powershell script that runs Chocolatey updates as well as does some logging locally and on a network share. The script itself resides on a network share, and I'm hoping to be able to ...
0
votes
2answers
15 views

Schedule tasks at specific intervals but not fixed times

I have a command that I want to run regularly, i.e. at fixed intervals (say once per day). As far as I know, the usual approach would be to use cron. That would require me to schedule my task at ...
2
votes
0answers
28 views

Pass null arguments in an scheduled task xml file

I am trying to run a batch file when some specific events occurs and I want to pass some null arguments to one of my tasks. The problem is that I don't know how. I have tried a lot of combinations ...
0
votes
0answers
115 views

Schedule powershell script task doesn't Send-MailMessage

I am building a Powershell script to create a company synchronized email signature so I don't have to ask users to manually edit theirs when information changes. It is set up to grab the contents of ...