3 Antworten

  1. Dirk Hondong
    9. September 2020

    Hi Volker,

    no idea what the task scheduler is doing wrong so the job is triggered on Saturday and Sunday.
    But maybe just a little workaround in the powershell script.
    Just check, if it is sunday or not with
    (Get-Date).DayOfWeek
    Combined with a little IF construct it should do the trick.

    Reply

    • VolkerB
      9. September 2020

      Great idea! Thanks for the hint!
      The if looks now like this:
      if ((Get-Date).DayOfWeek -eq „Sunday“)

      Reply

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre, wie deine Kommentardaten verarbeitet werden.

Zum Seitenanfang
Mobil Desktop