Home

Scheduled Task Windows Server 2019 (EDIT)

%3CLINGO-SUB%20id%3D%22lingo-sub-719760%22%20slang%3D%22en-US%22%3EScheduled%20Task%20Windows%20Server%202019%20(EDIT)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-719760%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20having%20a%20problem%20with%20the%20Windows%20Server%202019%20Task%20Scheduler.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20does%20not%20work%20as%20in%20Windows%20Server%202012.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20do%20I%20need%20to%20do%20to%20make%20this%20work%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEDIT%3A%26nbsp%3B%3C%2FP%3E%3CP%3EGuys%2C%20what%20I%20figured%20out%20is%20that%20the%20task%20scheduler%20works%20for%201%20simple%20task%2C%20for%20a%20given%20time.%3C%2FP%3E%3CP%3EBut%20it%20does%20not%20work%20to%20repeat%20every%20day%2C%20every%205%20minutes%2C%20indefinitely.%3C%2FP%3E%3CP%3EWhat%20has%20changed%20in%20Windows%20Server%202019%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-719760%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-726561%22%20slang%3D%22en-US%22%3ERe%3A%20Scheduled%20Task%20Windows%20Server%202019%20(EDIT)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-726561%22%20slang%3D%22en-US%22%3E%3CP%3EMight%20check%20here%20to%20see%20what%20happened.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23545454%3B%20font-family%3A%20arial%2Csans-serif%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.54%3B%20orphans%3A%202%3B%20overflow-wrap%3A%20break-word%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EEvent%20Viewer%5CApplications%5C%3C%2FSPAN%3E%3CWBR%20style%3D%22color%3A%20%23545454%3B%20font-family%3A%20arial%2Csans-serif%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%20%2F%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23545454%3B%20font-family%3A%20arial%2Csans-serif%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.54%3B%20orphans%3A%202%3B%20overflow-wrap%3A%20break-word%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EMicrosoft%5CWindows%5CTaskScheduler%5C%3C%2FSPAN%3E%3CEM%20style%3D%22color%3A%20%236a6a6a%3B%20font-family%3A%20arial%2Csans-serif%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20bold%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EOperational%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%20style%3D%22color%3A%20%236a6a6a%3B%20font-family%3A%20arial%2Csans-serif%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20bold%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%20style%3D%22color%3A%20%236a6a6a%3B%20font-family%3A%20arial%2Csans-serif%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20bold%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-856970%22%20slang%3D%22en-US%22%3ERe%3A%20Scheduled%20Task%20Windows%20Server%202019%20(EDIT)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-856970%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F364999%22%20target%3D%22_blank%22%3E%40erickgomes%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20discovered%20what%20is%20happening%3F%20I%20am%20observing%20a%20strange%20behavior%20of%20Task%20Scheduler%20in%20WS%202019.%20Sometimes%20the%20task%20stops%20repeating%2C%20sometimes%20it%20begins%20to%20ignore%20the%20time%20for%20repeating%20and%20tries%20to%20repeat%20the%20task%20at%20very%20short%20intervals%20(like%2012%20seconds).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-893492%22%20slang%3D%22en-US%22%3ERe%3A%20Scheduled%20Task%20Windows%20Server%202019%20(EDIT)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-893492%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F364999%22%20target%3D%22_blank%22%3E%40erickgomes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20exact%20same%20problem.%26nbsp%3B%20Task%20scheduler%20runs%20everything%20at%201%2F16%20speed%20and%20all%20tasks%20that%20run%20that%20take%20more%20then%205%20minutes%20are%20immediately%20ended%20at%205%20minutes.%3C%2FP%3E%3CP%3Ewe%20have%20tried%20everything%20batch%20file%20does%20the%20same%2C%20.exe%20does%20the%20same%2C%20powershell%20does%20the%20same.%3C%2FP%3E%3CP%3EWe%20have%20a%20scheduled%20task%20that%20is%20due%20to%20run%20every%2010%20min%20indefinitely%20with%20this%20issue%3C%2FP%3E%3CP%3Ealso%20found%20out%20that%20if%20you%20disable%20then%20re-enable%2C%20it%20never%20runs%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-964596%22%20slang%3D%22en-US%22%3ERe%3A%20Scheduled%20Task%20Windows%20Server%202019%20(EDIT)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-964596%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F420191%22%20target%3D%22_blank%22%3E%40calverley1000%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20having%20the%20same%20issues%20with%20Server%202019.%20I'm%20having%20no%20luck%20finding%20anything%20solid.%20I%20really%20hope%20that%20Microsoft%20see%20this%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tasks%20that%20I%20have%20run%20on%202008%20r2%2C%202012%20r2%20for%20years%20with%20no%20issues%20what%20so%20ever.%20But%202019%20has%20major%20issues%20with%20keeping%20a%20schedule.%20If%20the%20server%20is%20rebooted%20and%20comes%20up%20after%20it's%20%22trigger%22%20time%20that%20task%20will%20not%20run%2C%20but%20the%20GUI%20shows%20nothing%20helpful.%20The%20only%20way%20I%20have%20%22fixed%22%20this%20issue%2C%20and%20I%20don't%20really%20call%20it%20a%20fix%2C%20it%20to%20reschedule%20the%20task.%20But%20this%20is%20a%20short%20term%20fix.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20found%201%20suggestion%20to%20not%20have%20a%20daily%20trigger%2C%20but%20a%20one%20time%20trigger%20with%20an%20a%20duration%20of%20indefinitely.%20I%20hope%20this%20fixes%20it%2C%20i'm%20quite%20frustrated.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20other%20issue%20I%20have%20is%20that%20I%20define%20a%20domain%20user%20when%20creating%20the%20task%2C%20but%20any%20subsequent%20edits%20the%20domain%20is%20removed%20and%20will%20not%20take%20the%20passed.%20I%20have%20to%20add%20the%20domain%20back%20in.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%202%20items%20are%20giving%20me%20major%20issues%20with%20Server%202019%20that%20appear%20to%20be%20introduced%20with%20Server%202016%20and%20continue%20in%202019.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20listening%20to%20my%20small%20rant.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-964601%22%20slang%3D%22en-US%22%3ERe%3A%20Scheduled%20Task%20Windows%20Server%202019%20(EDIT)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-964601%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20vote%20up%20or%20provide%20this%20feedback%20over%20here%20on%20uservoice.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwindowsserver.uservoice.com%2Fsearch%3Ffilter%3Dmerged%26amp%3Bquery%3Dtask%2520scheduler%25202019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3Ehttps%3A%2F%2Fwindowsserver.uservoice.com%2Fsearch%3Ffilter%3Dmerged%26amp%3Bquery%3Dtask%2520scheduler%25202019%3C%2FFONT%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
erickgomes
New Contributor

Hello guys,

 

I'm having a problem with the Windows Server 2019 Task Scheduler.

 

It does not work as in Windows Server 2012.

 

What do I need to do to make this work?

 

EDIT: 

Guys, what I figured out is that the task scheduler works for 1 simple task, for a given time.

But it does not work to repeat every day, every 5 minutes, indefinitely.

What has changed in Windows Server 2019?

5 Replies

Might check here to see what happened.

Event Viewer\Applications\Microsoft\Windows\TaskScheduler\Operational

 

 

 

Hi@erickgomes ,

 

Did you discovered what is happening? I am observing a strange behavior of Task Scheduler in WS 2019. Sometimes the task stops repeating, sometimes it begins to ignore the time for repeating and tries to repeat the task at very short intervals (like 12 seconds).

@erickgomes 

I have the exact same problem.  Task scheduler runs everything at 1/16 speed and all tasks that run that take more then 5 minutes are immediately ended at 5 minutes.

we have tried everything batch file does the same, .exe does the same, powershell does the same.

We have a scheduled task that is due to run every 10 min indefinitely with this issue

also found out that if you disable then re-enable, it never runs again.

@calverley1000 

 

I'm having the same issues with Server 2019. I'm having no luck finding anything solid. I really hope that Microsoft see this issue.

 

I have tasks that I have run on 2008 r2, 2012 r2 for years with no issues what so ever. But 2019 has major issues with keeping a schedule. If the server is rebooted and comes up after it's "trigger" time that task will not run, but the GUI shows nothing helpful. The only way I have "fixed" this issue, and I don't really call it a fix, it to reschedule the task. But this is a short term fix. 

 

I have found 1 suggestion to not have a daily trigger, but a one time trigger with an a duration of indefinitely. I hope this fixes it, i'm quite frustrated. 

 

The other issue I have is that I define a domain user when creating the task, but any subsequent edits the domain is removed and will not take the passed. I have to add the domain back in. 

 

These 2 items are giving me major issues with Server 2019 that appear to be introduced with Server 2016 and continue in 2019.

 

Thanks for listening to my small rant.

You can vote up or provide this feedback over here on uservoice.

https://windowsserver.uservoice.com/search?filter=merged&query=task%20scheduler%202019

 

 

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies