Quantcast
Channel: Shavlik User Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 1352

Scheduled Task Runs One Week Early or Not At All

$
0
0

Purpose

 

The purpose of this document is to highlight a Microsoft Windows Task Scheduler bug that can cause your scheduled console tasks to run a week early or not at all.

 

Symptoms

 

The Ivanti Patch for Windows Servers console is installed on Windows Server 2016 or Windows 10, and you have a monthly console task that is set to run on a specific occurrence of a day of the week (4th Wednesday, 2nd Saturday, etc.).  Occasionally, this task executes exactly one week early or not at all.

 

Cause

 

Microsoft has confirmed a bug in the Windows Server 2016/Windows 10 Task Scheduler that will execute scheduled tasks one week early or not at all when specific conditions are met:

 

  • The month does not start on Sunday
    • NOTE: This condition is stated by Microsoft, but we have had customers report this happening on months that began on Sunday as well
  • The monthly task is set to execute on a specific occurrence of a day of the week (4th Wednesday, 2nd Saturday, etc.)
  • The date the task is scheduled to execute is a multiple of 7 (7th, 14th, 21st, or 28th)

 

If these conditions exist and the task is scheduled to execute on the 7th, the task will not run.

If these conditions exist and the task is scheduled to execute on the 14th, 21st, or 28th, the task will execute one week early.

 

This calendar from Microsoft's TechNet post regarding the issue illustrates the affected days of 2018.  Tasks scheduled days circled in red will execute one week early, while tasks scheduled on the days circled in grey will not execute.

As noted above, we have had customers report that this bug affected days in April, even though the month started on Sunday.  We recommend planning as though the bug will affect you in any month.

 

Resolution

 

There is no workaround, but Microsoft is aware of the issue and is working on a resolution.

 

Additional Information

 

Microsoft has acknowledged this issue and describes it further on their TechNet AskCore Japan blog:

https://blogs.technet.microsoft.com/askcorejp/2017/12/11/mouthly_tasks_issue/

 

Affected Product(s)

 

Shavlik Protect 9.2.x

Ivanti Patch for Windows Servers 9.3.x


Viewing all articles
Browse latest Browse all 1352

Trending Articles