task triggered several times


hi,

we have strange problem task scheduler on windows server 2008. tasks triggered several times instead once.

task setup:

run whether user logged on or not, run highest privileges, triggers: start: 6:30 / weekdays, repeat task every hour - duration 15 hours / stop task if runs longer 30 minutes.

when start task manually ok.

task history:

level    date , 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 completed task ""\backup_all_sql"" , instance ""{4ce37395-35d1-4473-aff4-e4bd5aaa058a}"" , action ""c:\windows\system32\cmd.exe"" return code 0."
information    13. 7. 2011 13:33:28    102    task completed    (2)    4ce37395-35d1-4473-aff4-e4bd5aaa058a    "task scheduler finished ""{4ce37395-35d1-4473-aff4-e4bd5aaa058a}"" instance of ""\backup_all_sql"" task user ""eltek\eeskit""."
information    13. 7. 2011 13:32:14    102    task completed    (2)    f891b375-1134-48d6-83cd-703fd67e31be    "task scheduler finished ""{f891b375-1134-48d6-83cd-703fd67e31be}"" instance of ""\backup_all_sql"" task user ""eltek\eeskit""."
information    13. 7. 2011 13:32:14    201    action completed    (2)    f891b375-1134-48d6-83cd-703fd67e31be    "task scheduler completed task ""\backup_all_sql"" , instance ""{f891b375-1134-48d6-83cd-703fd67e31be}"" , action ""c:\windows\system32\cmd.exe"" 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""  process id 5376."
information    13. 7. 2011 13:30:01    330    task stopping due user request    info    ef8b5934-e04a-49cf-9c42-d83bf38a3b81    "task scheduler stopped instance ""{ef8b5934-e04a-49cf-9c42-d83bf38a3b81}""  of task ""\backup_all_sql""  request 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""  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""  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 ""\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 ""\backup_all_sql"" task user ""eltek\eeskit""."
information    13. 7. 2011 13:30:01    319    task engine received message start task    (1)    00000000-0000-0000-0000-000000000000    "task engine ""s-1-5-21-39550393-1083860927-1897138802-19660:eltek\eeskit:password:""  received message task scheduler service requesting 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 ""\backup_all_sql"" task user ""eltek\eeskit""."
information    13. 7. 2011 13:30:01    319    task engine received message start task    (1)    00000000-0000-0000-0000-000000000000    "task engine ""s-1-5-21-39550393-1083860927-1897138802-19660:eltek\eeskit:password:""  received message task scheduler service requesting 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 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 ""\backup_all_sql"" task 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 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 start task    (1)    00000000-0000-0000-0000-000000000000    "task engine ""s-1-5-21-39550393-1083860927-1897138802-19660:eltek\eeskit:password:""  received message task scheduler service requesting 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 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 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 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 , regards,

mk

 

 

 

hi,

make sure have installed required updates in windows server 2008.

then reboot server see if it's work well.



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

DCOM received error "2147746132" from...

DFSR RPC replication errors 5014 1726 with large files over VPN

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B