task triggered several times
Hi, We have strange problem with task scheduler on windows server 2008. Tasks are triggered several times instead once. Task setup: run whether user is logged on or not, run with highest privileges, triggers: start: 6:30 / weekdays, repeat task every hour - for duration 15 hours / stop task if it runs longer than 30 minutes. When I start task manually everything is OK. task history: Level Date and Time Event ID Task Category Operational Code Correlation Id Information 13. 7. 2011 13:33:28 201 Action completed (2) 4ce37395-35d1-4473-aff4-e4bd5aaa058a "Task Scheduler successfully completed task ""\backup_all_sql"" , instance ""{4CE37395-35D1-4473-AFF4-E4BD5AAA058A}"" , action ""C:\Windows\SYSTEM32\cmd.exe"" with return code 0." Information 13. 7. 2011 13:33:28 102 Task completed (2) 4ce37395-35d1-4473-aff4-e4bd5aaa058a "Task Scheduler successfully finished ""{4CE37395-35D1-4473-AFF4-E4BD5AAA058A}"" instance of the ""\backup_all_sql"" task for user ""ELTEK\eeskit""." Information 13. 7. 2011 13:32:14 102 Task completed (2) f891b375-1134-48d6-83cd-703fd67e31be "Task Scheduler successfully finished ""{F891B375-1134-48D6-83CD-703FD67E31BE}"" instance of the ""\backup_all_sql"" task for user ""ELTEK\eeskit""." Information 13. 7. 2011 13:32:14 201 Action completed (2) f891b375-1134-48d6-83cd-703fd67e31be "Task Scheduler successfully completed task ""\backup_all_sql"" , instance ""{F891B375-1134-48D6-83CD-703FD67E31BE}"" , action ""C:\Windows\SYSTEM32\cmd.exe"" with return code 0." Information 13. 7. 2011 13:30:01 129 Created Task Process Info 00000000-0000-0000-0000-000000000000 "Task Scheduler launch task ""\backup_all_sql"" , instance ""C:\Windows\SYSTEM32\cmd.exe"" with process ID 5376." Information 13. 7. 2011 13:30:01 330 Task stopping due to user request Info ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler stopped instance ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" of task ""\backup_all_sql"" as request by user ""ELTEK\eeskit"" ." Information 13. 7. 2011 13:30:01 129 Created Task Process Info 00000000-0000-0000-0000-000000000000 "Task Scheduler launch task ""\backup_all_sql"" , instance ""C:\Windows\SYSTEM32\cmd.exe"" with process ID 5224." Information 13. 7. 2011 13:30:01 129 Created Task Process Info 00000000-0000-0000-0000-000000000000 "Task Scheduler launch task ""\backup_all_sql"" , instance ""C:\Windows\SYSTEM32\cmd.exe"" with process ID 4524." Information 13. 7. 2011 13:30:01 111 Task terminated Termination ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler terminated ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" instance of the ""\backup_all_sql"" task." Information 13. 7. 2011 13:30:01 100 Task Started (1) 4ce37395-35d1-4473-aff4-e4bd5aaa058a "Task Scheduler started ""{4CE37395-35D1-4473-AFF4-E4BD5AAA058A}"" instance of the ""\backup_all_sql"" task for user ""ELTEK\eeskit""." Information 13. 7. 2011 13:30:01 319 Task Engine received message to start task (1) 00000000-0000-0000-0000-000000000000 "Task Engine ""S-1-5-21-39550393-1083860927-1897138802-19660:ELTEK\eeskit:Password:"" received a message from Task Scheduler service requesting to launch task ""\backup_all_sql"" ." Information 13. 7. 2011 13:30:01 100 Task Started (1) f891b375-1134-48d6-83cd-703fd67e31be "Task Scheduler started ""{F891B375-1134-48D6-83CD-703FD67E31BE}"" instance of the ""\backup_all_sql"" task for user ""ELTEK\eeskit""." Information 13. 7. 2011 13:30:01 319 Task Engine received message to start task (1) 00000000-0000-0000-0000-000000000000 "Task Engine ""S-1-5-21-39550393-1083860927-1897138802-19660:ELTEK\eeskit:Password:"" received a message from Task Scheduler service requesting to launch task ""\backup_all_sql"" ." Information 13. 7. 2011 13:30:01 200 Action started (1) 4ce37395-35d1-4473-aff4-e4bd5aaa058a "Task Scheduler launched action ""D:\backups\SQL_backup_scripts\backup_all_DB.bat"" in instance ""{4CE37395-35D1-4473-AFF4-E4BD5AAA058A}"" of task ""\backup_all_sql""." Warning 13. 7. 2011 13:30:01 323 Launch request acknowledged, current instance stopped Info ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler stopped instance ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" of task ""\backup_all_sql"" in order to launch new instance ""{4CE37395-35D1-4473-AFF4-E4BD5AAA058A}"" ." Information 13. 7. 2011 13:30:01 100 Task Started (1) ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler started ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" instance of the ""\backup_all_sql"" task for user ""ELTEK\eeskit""." Information 13. 7. 2011 13:30:01 200 Action started (1) f891b375-1134-48d6-83cd-703fd67e31be "Task Scheduler launched action ""D:\backups\SQL_backup_scripts\backup_all_DB.bat"" in instance ""{F891B375-1134-48D6-83CD-703FD67E31BE}"" of task ""\backup_all_sql""." Warning 13. 7. 2011 13:30:01 323 Launch request acknowledged, current instance stopped Info ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler stopped instance ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" of task ""\backup_all_sql"" in order to launch new instance ""{F891B375-1134-48D6-83CD-703FD67E31BE}"" ." Information 13. 7. 2011 13:30:01 200 Action started (1) ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler launched action ""D:\backups\SQL_backup_scripts\backup_all_DB.bat"" in instance ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" of task ""\backup_all_sql""." Information 13. 7. 2011 13:30:01 319 Task Engine received message to start task (1) 00000000-0000-0000-0000-000000000000 "Task Engine ""S-1-5-21-39550393-1083860927-1897138802-19660:ELTEK\eeskit:Password:"" received a message from Task Scheduler service requesting to launch task ""\backup_all_sql"" ." Information 13. 7. 2011 13:30:00 107 Task triggered on scheduler Info 4ce37395-35d1-4473-aff4-e4bd5aaa058a "Task Scheduler launched ""{4CE37395-35D1-4473-AFF4-E4BD5AAA058A}"" instance of task ""\backup_all_sql"" due to a time trigger condition." Information 13. 7. 2011 13:30:00 107 Task triggered on scheduler Info f891b375-1134-48d6-83cd-703fd67e31be "Task Scheduler launched ""{F891B375-1134-48D6-83CD-703FD67E31BE}"" instance of task ""\backup_all_sql"" due to a time trigger condition." Information 13. 7. 2011 13:30:00 107 Task triggered on scheduler Info ef8b5934-e04a-49cf-9c42-d83bf38a3b81 "Task Scheduler launched ""{EF8B5934-E04A-49CF-9C42-D83BF38A3B81}"" instance of task ""\backup_all_sql"" due to a time trigger condition." Task export: <?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo> <Date>2011-06-28T17:31:57.9458912</Date> <Author>ELTEK\eeskit</Author> </RegistrationInfo> <Triggers> <CalendarTrigger> <Repetition> <Interval>PT1H</Interval> <Duration>PT15H</Duration> <StopAtDurationEnd>true</StopAtDurationEnd> </Repetition> <StartBoundary>2011-06-28T06:30:00</StartBoundary> <ExecutionTimeLimit>PT30M</ExecutionTimeLimit> <Enabled>true</Enabled> <ScheduleByWeek> <DaysOfWeek> <Monday /> <Tuesday /> <Wednesday /> <Thursday /> <Friday /> </DaysOfWeek> <WeeksInterval>1</WeeksInterval> </ScheduleByWeek> </CalendarTrigger> </Triggers> <Principals> <Principal id="Author"> <UserId>ELTEK\eeskit</UserId> <LogonType>Password</LogonType> <RunLevel>HighestAvailable</RunLevel> </Principal> </Principals> <Settings> <IdleSettings> <Duration>PT10M</Duration> <WaitTimeout>PT1H</WaitTimeout> <StopOnIdleEnd>true</StopOnIdleEnd> <RestartOnIdle>false</RestartOnIdle> </IdleSettings> <MultipleInstancesPolicy>StopExisting</MultipleInstancesPolicy> <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> <AllowHardTerminate>true</AllowHardTerminate> <StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled> <Hidden>false</Hidden> <RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>PT30M</ExecutionTimeLimit> <Priority>7</Priority> </Settings> <Actions Context="Author"> <Exec> <Command>D:\backups\SQL_backup_scripts\backup_all_DB.bat</Command> </Exec> </Actions> </Task> Thanks and regards, MK
July 13th, 2011 8:16am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics