Hi,
Thank you for posting your query.
Kindly follow the steps provided below to resolve your issue.
Try not to use the "Daily" setting but to say, "One time" and set this in repeat task every {time} for a duration of in my case every day going forward so Indefinitely.
Go to this link for your reference https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/scheduled-task-windows-server-2019-edit/m-p/719760
Note: This is a non-Microsoft website kindly take precautions before downloading anything.
Do not hesitate to message us if you need further assistance.
-------------------------------------------------------------------------------------------------------------------------------------------
If the answer is helpful kindly click "Accept as Answer" and upvote it. Thanks.