The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
9 views

Task scheduler on Windows Server 2012 [migrated]

I have written a program in Matlab (file .m) that needs to run daily at a specified time on my server (Windows Server 2012). I achieved this using the Task Scheduler and it works fine without any ...
1
vote
0answers
5 views

Is there a way to check resource utilization on a cluster running SLURM?

Not sure if this question fits better here or at Unix.SE but I figured it feels more appropriate here. I am running some computation-heavy research on a national cluster which uses SLURM for ...
2
votes
1answer
4k 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:...
3
votes
1answer
3k 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: ...
1
vote
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 ...
3
votes
1answer
2k 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 ...
0
votes
0answers
40 views

Task Not Running (Last Run Result 0x41325)

I have two tasks with the exact same settings. Then only difference is the name of the Task of-cause. One of them runs Last Run Result: 0x0. The other however do not run 0x41325. Looking for ideas ...
1
vote
1answer
22 views

Task Schduler Log issues

I have been using task scheduler for scheduling batch jobs and I have enabled tasks history. However, I could not find any log file in C:\Windows\Tasks. So where could I find the log files for that?
1
vote
4answers
22k views

Why does Windows 2008 Task Scheduler not run my batch file?

I was an ace with Windows 2003 Scheduled Tasks. Everything just worked. This does not seem to be the case with the 2008 Task Scheduler. I need it to run a batch file that calls osql.exe and then ...
4
votes
1answer
5k views

Windows Task Scheduler - result code 0xC000005

I created Task in Windows Task Scheduler which runs every day at 9:00 AM. I configured it to run using SYSTEM account and run whether user is logged or not. I'm 100% sure, that action is pointing to ...
1
vote
2answers
42 views

How to tell if a DOS batch script is being run by task scheduler?

How can a DOS Batch command file determine if it is being run by Task Scheduler?
87
votes
6answers
36k 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 ...
1
vote
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 ...
0
votes
3answers
66 views

Batch file error when executed from Task Manager

I'm new to windows batch scripting, but I was able to get something working that I needed. It works when executing it manually, but when Task Manager executes the script, it doesn't complete. The Last ...
0
votes
2answers
4k views

How do I create a task scheduler to restart a software service in Windows Server 2008 R2

I have a pesky software service that fails every few weeks. It has two components. Service A and Service B. Service B gets in a weird state and stops accepting connections from Service A. The only way ...
0
votes
2answers
3k 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 ...
0
votes
1answer
24 views

Task scheduler terminates completed task

I am running a task using the Task Scheduler on a Windows Server 2012 R2 server. Today I was examining the task's history. My task completed successfully. Task Scheduler successfully finished "{...
0
votes
4answers
3k views

How to make the task scheduler display the cmd shell when invoking a batch file?

I am using Windows 2008 R2 and I am trying to schedule my application in the Task Scheduler. I have created a batch with the right settings. The problem I have is: I need to display the Cmd shell ...
0
votes
1answer
40 views

Scheduling a Task to Run Indefinitely

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 = New-...
0
votes
0answers
60 views

Windows task scheduler event viewer trigger 0x800704DD

I am creating a Windows task in Windows 2008 R2 for an Event Viewer event. I wish for it to display a dialog box. However the task will only trigger if a user is logged in. I wish for the task to ...
4
votes
3answers
3k 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 schtasks....
0
votes
1answer
138 views

This task requires that the user account specified has Log on as batch job rights

I have created a basic task under our windows server 2008 r2 Task Scheduler.but when I try saving the task I got the following error:- This task requires that the user account specified has Log on as ...
2
votes
2answers
65 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: <ExecutionTimeLimit>PT23H</...
1
vote
0answers
118 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 ...
1
vote
1answer
37 views

robocopy with environment variable will cause 0x10

I tried this on command line and it will work correctly robocopy /mir /copy:DAT /mot:30 "D:\Source File\file" "E:\Target Directory\backup %DATE:/=-% %time::=-%" /xd "D:\Source File\file\excluded" ...
0
votes
0answers
47 views

How to run a php script under Window's Task Scheduler that outputs a CSV file

I need to run a php script that queries my DB and outputs the results as a CSV file. I have the script to produce the CSV and it worked perfectly when run on web browser. I just need to figure out how ...
2
votes
0answers
18 views

Cross platform job/task scheduler [closed]

We have a mix of Linux, OSX and Windows servers that use crontab, Windows Task Scheduler, etc to run a bunch of bash/windows scripts, rsync commands, etc. I would like to replace these OS specific ...
1
vote
2answers
1k 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 ...
0
votes
2answers
72 views

Windows Scheduler 2nd and 3rd Weekend of each month

Is it possible using the Windows Scheduler to have a task run on the Sunday after the 2nd & 3rd Saturday of each month? Long Version We have some maintenance scripts which bring our systems ...
1
vote
0answers
46 views

Why does svn look for cached credentials in the wrong place when run as a scheduled task?

I run a daily Powershell script via Windows Scheduler under a service account that updates a local svn working copy and commits changes. The svn client is sliksvn and is run by command line only. When ...
0
votes
1answer
42 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 ...
13
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 ...
0
votes
0answers
75 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 ...
2
votes
2answers
3k views

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. ...
0
votes
1answer
138 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
22 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 ...
3
votes
6answers
14k 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 ...
3
votes
0answers
122 views

How do I modify, disable, or delete a task with stored credentials after a Server Name Change?

I have a task that's been running regularly every 30 minutes for several months. It's got stored credentials for my account, listed as MACHINE_NAME\USER. After the creation of this task, we decided to ...
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 ...
1
vote
0answers
37 views

Scheduled Tasks running twice on windows server 2012 R2

On my production server (Windows server 2012) I have scheduled various tasks. I have enabled Task Scheduler history but its of no use. LastRunResult of each of my tasks shows Last run of the task was ...
1
vote
2answers
3k 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 ...
0
votes
1answer
58 views

Why Windows is running programs via Task Scheduler

Running Windows Server 2008R2 as a Remote Desktop Session host. I noticed a while ago that there are tons of tasks being created in Task Scheduler. These are not created by the users themselves. ...
1
vote
0answers
441 views

Pause the Windows Task Scheduler

Is there a way to temporarily pause the Windows Task Scheduler so it doesn't launch new scheduled tasks in the middle of a critical operation? I have a PowerShell script that syncs an HA server to an ...
0
votes
2answers
209 views

Windows Server 2008 Task Scheduler taskeng.exe lingering

We run several simple python scripts periodically on our servers using Windows Task Scheduler. The scripts are extremely simple, and grab statistics like the Disk Space and the CPU Percentage and log ...
10
votes
3answers
15k views

Scheduled job not running to completion; event logged with return code 3762504530

I'm just a lowly developer, but a scheduled (2:00 am) VB.Net console app job I inherited is intermittently not running to completion. About half the time, it just doesn't run to completion, logging ...
0
votes
0answers
62 views

Task Scheduler not giving a detailed error message

I have two servers, a 2003 R2 and a 2008 R2, setup to run the same executable as a task as I work on migrating content over to the new server. The task started failing recently and the task scheduler ...
0
votes
1answer
69 views

Scheduled task PS script location best practice

Since there isn't a straightforward way to store and run scripts locally on domain members, I'm resorting to manually store them in a common location across the board and then deploying a task ...
0
votes
0answers
117 views

Logstash process, created after invoking logstash.bat with task scheduler, keeps running even after task is terminated

I have dedicated machine with windows server 2012 R2 and i have to keep a logstash instance running to collect logs. For this, i have created a task scheduler task configured to invoke the provided ...
0
votes
0answers
603 views

Task Scheduler insufficient permissions(?)

Windows Server 2012 in a domain environment. I cant seem to be able to do anything in Task Scheduler anymore. I might as well mention that my user is a domain admin. When attempting to disable a ...
0
votes
0answers
503 views

Why my task has 0x5 Access denied exit code with Task Scheduler if script was finished?

I have following batch script: copy \\remotehost.ip\c$\dumps\TEST_%date%.dmp C:\dumps\TEST_%date%.dmp sqlplus sys/password as SYSDBA @C:\dumps\recreate_test.sql > C:\dumps\recreate_test.log ...