What exactly do the logs say is happening?
Script not running when scheduled
Hi guys,
I've created a script to run in SCCM. It runs fine when running it without schedule. As soon as I schedule it to run at a specific time, it fails, even though in the status it says successful.
Has anyone experienced anything similar?
Any help would be highly appreciated.
O Pereira
2 answers
Sort by: Most helpful
-
-
AllenLiu-MSFT 49,216 Reputation points Microsoft External Staff
2024-03-21T06:35:26.7233333+00:00 Hi, @Mr O Pereira
Thank you for posting in Microsoft Q&A forum.
I did a test in my environment, whether run it with or without schedule, it will success.
I think the issue is related to your script. Are we sure the second run will be successful? Have we tried running the script manually multiple times?
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".