Questions tagged [task-scheduler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
113 views

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 ...
pehrs's user avatar
  • 8,879
3 votes
1 answer
5k views

wevtutil requires Run As Admin for Security log (but not for System), or how to Run As Admin for Task

I'm using this query to check for certain Exchange account changes on my Windows 2008 R2 AD primary: wevtutil qe Security /q:"*[System/EventID=5136]" /f:text /rd:true /c:1 I'm making a batch file ...
armani's user avatar
  • 420
0 votes
1 answer
221 views

How can I run a few tasks consecutively that I usually execute manually

Ok, first of all let me describe my working situation so that is is clear why this is a question pertaining to system administration. I work at a larger IT solution company that is running operations ...
Alex Lehmann's user avatar
4 votes
1 answer
918 views

AT command w/ 2008 R2 unexpectedly schedules task as repeating

In my organization we recently upgraded some servers from Windows Server 2003 to 2008 R2. In doing so we found a strange bug in how the AT command works. This is critical to an internally developed ...
spoulson's user avatar
  • 2,183
4 votes
1 answer
8k views

Run a scheduled task as an unprivileged user remotely

I need to allow a group of unprivileged users to trigger a predefined scheduled tank on a Windows Server 2008 R2 host. I seem unable to find the respective rights to do so. Upon an attempt to connect ...
the-wabbit's user avatar
15 votes
3 answers
29k views

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 ...
NealWalters's user avatar
  • 1,333
0 votes
0 answers
171 views

Windows Server 2003 Task Scheduler Fails to Kill Task Unless I'm Logged in

I am having problems with a process started by a Windows task that is not being killed properly after it has run for a pre-determined amount of time even though the Windows task is created to kill the ...
FearlessFuture's user avatar
1 vote
1 answer
4k views

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 ...
I'm with Monica's user avatar
2 votes
0 answers
138 views

Strange behavior of Windows Server 2003 task scheduler

I've got a task, which runs fine while launching it with "Right click / Run" in the scheduler, but fails with a weird "SQL Server login fail" due to bad login while ran automatically at specified time....
AFract's user avatar
  • 121
2 votes
2 answers
4k views

Schtasks -- what is wrong with the following command

The following script schedules successfully but will not actually, you know, restart the server. schtasks /create /tn "restart test" /ru "domain\admin" /rp supersecret /sc once /st 11:35 /tr "...
Kernel Panic's user avatar
0 votes
1 answer
979 views

Windows Server 2003 - AT command for repeating a scheduled Task

Is it possible to use the AT command to create a scheduled task that repeats every X minutes? I can use AT to make one that repeats daily/weekly/monthly, but haven't seen a minute/hourly repeat. I can ...
Dustin's user avatar
  • 475
1 vote
2 answers
3k views

.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 ...
Vladimir Yumashev's user avatar
3 votes
1 answer
3k views

Where do the Windows to a scheduled task go when the server runs them?

My server at work has some scheduled tasks that run every night. They run when no user is logged into the system. They run batch files which open MS-Access databases with macros inside. ...
leeand00's user avatar
  • 4,919
7 votes
4 answers
50k views

How to schedule a task to run every x-minutes on Windows Server 2003 R2

How to add a scheduled task that should run every x-minutes on Windows Server 2003 R2. I have followed many suggestion from the web, but I always end up with some interruption after 1 or 2 runs. ...
John's user avatar
  • 664
9 votes
1 answer
3k views

How to tell the Task Scheduler MMC to remember the column widths of the History?

Using the Task Scheduler MMC on a Windows Server 2008 R2, I'm facing something that is very annoying to me: The History window of a task does not remember the column widths, thus making it rather ...
Uwe Keim's user avatar
  • 2,440
0 votes
1 answer
612 views

Windows Server 2008 - Task Scheduler and Running Scripts every minute

All, I need to schedule a task (batch script) to run once per minute, every day. Looking at the Task Scheduler, I see the minimum repeat interval for a task is 5 minute, which is located in the "...
Slinky's user avatar
  • 1,047
1 vote
1 answer
2k views

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 ...
wizzardmr42's user avatar
1 vote
2 answers
896 views

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 ...
Quibblesome's user avatar
4 votes
4 answers
8k views

Task Scheduler just decides it doesn't want to run a task anymore

I set up a task in Server 2012 to run a script every weekday. It will work for anywhere from a few weeks to a few days, then just not even try to run it anymore. Status: Ready Triggers: At 7:30 AM ...
Tamerz's user avatar
  • 412
8 votes
2 answers
6k views

Task Scheduler Crashing MMC

I've been getting errors whenever I try to run the task scheduler for Windows 2008 R2. Each time that I've tried running it, the task scheduler will crash and report the following: Problem signature: ...
Valrok's user avatar
  • 330
1 vote
2 answers
6k views

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-...
Cade Roux's user avatar
  • 375
0 votes
1 answer
3k views

Windows Server in UTC, need Task Scheduler to shift tasks with summer time

I'm perfectly happy to have my server in UTC, but when a user needs something scheduled to happen in a particular time in a particular time zone, they are expecting that to obey their time zone rules ...
Cade Roux's user avatar
  • 375
6 votes
1 answer
17k views

Scheduling a Task for every minute in Windows 2012

I need to schedule a Task inside of my Windows 2012 to run every minute, how would one accomplish that? This is my Task: C:\>C:\Users\Administrator\Downloads\wget\bin\wget.exe --spider --quiet ...
alexus's user avatar
  • 13.4k
-1 votes
1 answer
6k views

How do I use Windows Task Scheduler to run an executable on a remote server? [closed]

I am looking at consolidating all of our scheduled tasks that run on various servers (Win 2008 R2) within our domain on to one "Task Scheduling Server". I am a developer so I'm not even sure if this ...
iamdudley's user avatar
  • 101
1 vote
2 answers
25k views

How can I access the scheduled tasks of a windows 2003 server from a windows 7 machine on a different domain?

I have looked everywhere for information but have not managed to find a solution. What I need to do is be able to access the Scheduled Tasks of a Windows 2003 Server that is in domain X from a ...
Andrew's user avatar
  • 11
1 vote
2 answers
10k views

2008 R2 Task Scheduler won't run task, but says completed successfully w/o errors

OLD DESCRIPTION: I have a .NET app I wrote myself that I'm trying to get set up to run as a scheduled task on Windows Server 2008 R2. When I run the app myself from the command line, it works just ...
Ant's user avatar
  • 143
1 vote
2 answers
7k views

Server 2008 R2 Task Scheduler permissionf for a vbs script

I have a vbs script to make backups of MySQL database files using the MySQLDump command. This is working perfectly and creates a new folder for each day's backups (e.g. 20130110). However, the script ...
JezB's user avatar
  • 233
3 votes
1 answer
3k views

Changing priorities of background vs foreground processes?

The commends nice/renice have no effect between processes started as foreground process and processes started as background processes. Even with maximum niceness on the foreground processes they get ...
Peter B.'s user avatar
  • 189
0 votes
2 answers
873 views

Windows Server R2 Task Scheduler - Open Programs On Startup

I want Fiddler and some other programs to run on startup, so it's there and running every time I bring up an instance of my test server on EC2. There's a few questions about running scripts on Startup ...
Markive's user avatar
  • 703
1 vote
1 answer
195 views

System Restore Points

Currently I am investigating how to schedule an automatic initiation of a system restore point for all of the workstations in my office. It seems that Task Scheduler already has some nice defaults (...
Ross Lordon's user avatar
1 vote
1 answer
7k views

Unable to connect to another computer from the Task Scheduler on Windows 7

I am getting the following error when trying to connect to another computer from the Task Scheduler on Windows 7: "The remote computer was not found." The computer that I am trying to connect to is ...
Clem's user avatar
  • 33
0 votes
3 answers
917 views

Setting a scheduled task running a Powershell script

Does anyone know the correct way to assign a Powershell script as a scheduled task? I have the below syntax (where X:/ is another drive mapped as a share).
GurdeepS's user avatar
  • 1,656
1 vote
1 answer
87 views

Verifying that a Server 2008 VMWare Workstation VM is running every 15 minutes [duplicate]

Possible Duplicate: Inexpensive Network Monitoring tools for Windows I am running a Windows 2008 server and it has a VMWare Workstation VM on it for another Windows 2008 server. I need to make ...
ErocM's user avatar
  • 226
1 vote
1 answer
7k views

Is it possible for a Powershell script to return the Last Run Result from Windows 2008 task scheduler?

I've setup a scheduled task on a Windows 2008 Server with two actions. The first action is to run an application which connects to a SQL database and generates XML files. The second action is to run a ...
kafka's user avatar
  • 547
1 vote
1 answer
248 views

legitimacy of the tasks in the task scheduler

Is there a way to know the source and legitimacy of the tasks in the task scheduler in windows server 2008 and 2003? Can I check if the task was added by Microsoft (ie: from sccm) or by a 3rd party ...
Eyad's user avatar
  • 133
2 votes
1 answer
483 views

Windows Server Task Scheduler: Running scheduled executable fail-safe?

I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical ...
Mikael Koskinen's user avatar
1 vote
2 answers
6k views

How do I get a Task Scheduler startup trigger to delay

System is Windows 2008 R2 I have a task scheduler task with a trigger to run at system startup, and have set the Delay to 20 minutes, however the task runs immediatley on system startup and ignores ...
Tom Brown's user avatar
  • 177
1 vote
1 answer
2k views

Do Scheduled Tasks run automatically if they are missed?

I'm running Windows Server 2003, and a scheduled task that was set to run was missed because an ms-access database window was left open over night. When we closed the window, the task scheduler ...
leeand00's user avatar
  • 4,919
2 votes
2 answers
1k views

Task Scheduler and Virtual Machine Monitoring

I'm looking for the poor man's monitoring solution. I have a Hyper-V 2008 R2 environment where power fluctuations at off-peak hours are pretty common. The battery keeps the box up for a fair amount ...
Brent Pabst's user avatar
  • 6,079
0 votes
2 answers
405 views

Defragment / Performance Monitor without Task Scheduler

My organisation has a policy of disabling Task Scheduler on all servers and workstations (don't ask, I tried once to wrestle the pig). I need to collect performance stats using Data Collector Sets in ...
mjaggard's user avatar
  • 123
1 vote
1 answer
969 views

open source job/process management/monitoring/control system [closed]

I'm looking for an open source solution for the following: I have jobs that need to run continuously. The jobs are applications or scripts. If they fail, they need to be restarted. If they fail, ...
Aaron Frantisak's user avatar
0 votes
1 answer
2k views

Windows Task Scheduler Security Issue [closed]

Using the Windows Task Scheduler allows non-administrator users to gain access to administrative rights. Normally, Windows prevents execute applications which need to have more rights. A message ...
System.Data's user avatar
1 vote
1 answer
5k views

HTTP-Invoke URL by Windows Task Scheduler (schtasks.exe)

I'd like to send HTTP requests using the Windows Task Scheduler. In UNIX cron jobs, I can do that using wget http://www.google.com -O /dev/null How to do the same on a Windows Server?
Jonas Sourlier's user avatar
1 vote
1 answer
840 views

Windows Server 2008 Task Scheduler: Task Started (Task=100) but did task did not complete (Task=102) when the result code is 2

Can someone give me a use case for setting up a Windows Server 2008 Task Scheduler task (we'll call this "test") that completes (action completed is task=201) with an error (result code=2)? This is ...
JustBeingHelpful's user avatar
42 votes
11 answers
154k views

Windows Task Scheduler does not start task at next run time

I have a Windows Server 2008 SP 2 Task Scheduler task that should run every 10 minutes. The trigger says "At 6:50 PM every day - After triggered, repeat every 10 minutes indefinitively." Looking ...
Dan C's user avatar
  • 561
3 votes
1 answer
3k views

Why am I getting a warning that windows is logging on with a temporary profile to run a task scheduler task?

I am having a strange problem with the Windows Server 2008 Task Scheduler. I have to run a small command-line application every few minutes. This application just executes a quick web service call on ...
Dan C's user avatar
  • 561
1 vote
2 answers
3k views

All tasks in the Task Scheduler stop triggering until I restart the server (W.Server 2008 Datacenter)

First of all, some info: Windows Server 2008 Datacenter, 100% updated with Service Pack 2 and all the patches. I connect to it using "Remote Desktop Connection" (I don't now if this is relevant) I ...
Brian Braun's user avatar
5 votes
1 answer
10k views

Stop a task in Windows 2008 Task Scheduler if it runs longer than 15 minutes?

In the Settings tab of a Task in Task Scheduler Windows 2008 and Win8 you can specify additional settings that affect the behavior of your task. The setting for "Stop the task if it runs longer than:...
Mouffette's user avatar
  • 495
14 votes
1 answer
4k views

Disable history for only one task in the Task Scheduler Library?

I have selected the Enable All Tasks History option in the Task Scheduler Library of Windows Server 2008 R2. For most tasks, I’d like to have the history kept but I’m wondering if it’s possible to ...
Mouffette's user avatar
  • 495
-1 votes
1 answer
2k views

Can't set up task to run from non admin user

I have Windows server 2008 R2. One non administrator account named for e.x. abc. abc is member of backup operators, power users and schedulers. I have allowed all permissions to C:\Windows\Tasks for ...
martin's user avatar
  • 83

1
3 4
5
6 7