• Grolsch
  • Registratie: Maart 2003
  • Laatst online: 13:40
Hallo Tweakers,

Ik heb hier een 2008 server welke member is van een SBS2008 premium domein.

Hierop wil ik een backup script laten lopen.

Als ik dit script handmatig aanklik duurt deze ca. 1,5 uur, en werkt het perfect.

In dit script worden een aantal taken uitgevoerd (4 stuks).
1 backup script voor een SQL database en 3 robocopy taken.

Als ik in de logfile van de taak kijk dan lijkt het aan de tijd te liggen.
Log Name: Microsoft-Windows-TaskScheduler/Operational
Source: Microsoft-Windows-TaskScheduler
Date: 19-12-2009 2:00:01
Event ID: 329
Task Category: Task stopping due to timeout reached
Level: Information
Keywords:
User: ***\Administrator
Computer: DB2008.**.local
Description:
Task Scheduler terminated "{fb01d2eb-5851-47ff-9837-26a79820ef1d}" instance of the "\Backup ***" task due to exceeding the time allocated for execution, as configured in the task definition. User Action: Increase the configured task timeout or investigate external reasons for the delay.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-TaskScheduler" Guid="{de7b24ea-73c8-4a09-985d-5bdadcfa9017}" />
<EventID>329</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>329</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2009-12-19T01:00:01.008Z" />
<EventRecordID>21606</EventRecordID>
<Correlation ActivityID="{FB01D2EB-5851-47FF-9837-26A79820EF1D}" />
<Execution ProcessID="2360" ThreadID="1792" />
<Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
<Computer>DB2008.**.local</Computer>
<Security UserID="S-1-5-21-3301124535-1373890009-1293877881-500" />
</System>
<EventData Name="StoppedOnTimeout">
<Data Name="TaskName">\Backup ***</Data>
<Data Name="TaskInstanceId">{FB01D2EB-5851-47FF-9837-26A79820EF1D}</Data>
</EventData>
</Event>
Het rare is dat van de 4 uit te voeren taken, alleen het laatste daadwerkelijk gebeurt is.

in het script staat dus

1 taak (duurt ca. 15 minuten)

2 robocopy van a naar b

3 robocopy van c naar d

4 robocopy van e naar f

En alleen stap 4 wordt uitgevoerd, terwijl de bron en destination hetzelfde is.

Waar moet ik dit zoeken :?

PVOUPUT - 13.400WP - Twente


  • mbaltus
  • Registratie: Augustus 2004
  • Laatst online: 28-01 13:28
* Robocopy een log laten maken (misschien wordt de taak wel gestart, maar gaat 't mis op rechten en wordt er dus uiteindelijk niet gekopieerd.

* Controleren of het account waar de taak mee geconfigureerd is wel voldoende rechten heeft (is dat ook hetzelfde accounts als waarmee het script handmatig succesvol kan worden aanroepen)?

The trouble with doing something right the first time is that nobody appreciates how difficult it is


  • Grolsch
  • Registratie: Maart 2003
  • Laatst online: 13:40
mbaltus schreef op maandag 21 december 2009 @ 15:38:
* Robocopy een log laten maken (misschien wordt de taak wel gestart, maar gaat 't mis op rechten en wordt er dus uiteindelijk niet gekopieerd.
Robocopy maakt dus een log, en naar aanleiding van die log kan ik concluderen dat taak 1,2 en 3 niet werken.
Zelf de modified date van het logbestand veranderd niet.
* Controleren of het account waar de taak mee geconfigureerd is wel voldoende rechten heeft (is dat ook hetzelfde accounts als waarmee het script handmatig succesvol kan worden aanroepen)?
Ik heb alle mogelijke accounts al geprobeerd, van admin, tot een backup account, tot local admin, niets werkt.

PVOUPUT - 13.400WP - Twente


  • alt-92
  • Registratie: Maart 2000
  • Niet online

alt-92

ye olde farte

*volgende voor de hand liggende stap*

Werkt de robocopy slag wel als je het met het handje onder één der accounts laat runnen?
Zet je eventlogging op auditing eens wat hoger op betreffende resources of ga met process monitor kijken
wat voor errors krijg je met de andere accounts if any?

ik heb een 864 GB floppydrive! - certified prutser - the social skills of a thermonuclear device


  • Razwer
  • Registratie: December 2000
  • Laatst online: 30-01 16:58
Grolsch schreef op maandag 21 december 2009 @ 10:04:
Als ik dit script handmatig aanklik duurt deze ca. 1,5 uur, en werkt het perfect.
Task Scheduler terminated "{fb01d2eb-5851-47ff-9837-26a79820ef1d}" instance of the "\Backup ***" task due to exceeding the time allocated for execution, as configured in the task definition. User Action: Increase the configured task timeout or investigate external reasons for the delay.
ben ik de enige die het verband hier zie of sla ik de plank volledig mis?

http://technet.microsoft....rary/cc774991(WS.10).aspx

The task was stopped due to a configured setting. Possible causes include:

The task ran for longer than the maximum configured run time.
The task was configured to stop when the computer switched to battery power.
The task was configured to stop when the computer is no longer idle.
The task was configured to stop when a new instance of the task is triggered.

This behavior might be as expected. However, if the behavior was unexpected you can reconfigure the task configuration settings.

To update the task settings and conditions:

1. Click the Start button and type Task Scheduler in the Start Search box.

2. Select the Task Scheduler program to start Task Scheduler.

3. Select the task to configure by locating the task in the task folder hierarchy. Right-click the task, and select Properties.

4. On the Settings and Conditions tabs, update the task settings and conditions.

5. Click OK.


offtopic: je doet je best om je gegevens te cencureren maar je bent eentje vergeten :)

[ Voor 23% gewijzigd door Razwer op 22-12-2009 16:54 ]

Newton's 3rd law of motion. Amateur moraalridder.


  • alt-92
  • Registratie: Maart 2000
  • Niet online

alt-92

ye olde farte

Razwer schreef op dinsdag 22 december 2009 @ 16:50:

ben ik de enige die het verband hier zie of sla ik de plank volledig mis?
Mwa. dat verklaart niet waarom stap 1,2 en 3 niet runnen toch? :P

ik heb een 864 GB floppydrive! - certified prutser - the social skills of a thermonuclear device


  • Grolsch
  • Registratie: Maart 2003
  • Laatst online: 13:40
Ik heb dit probleem nog steeds.
alt-92 schreef op dinsdag 22 december 2009 @ 16:27:
*volgende voor de hand liggende stap*

Werkt de robocopy slag wel als je het met het handje onder één der accounts laat runnen?
Zet je eventlogging op auditing eens wat hoger op betreffende resources of ga met process monitor kijken
wat voor errors krijg je met de andere accounts if any?
Als ik het script als admin run gaat het dus goed.

Dan moet het met de task scheduler toch ook goed gaan :?

PVOUPUT - 13.400WP - Twente

Pagina: 1