BatchPatch Forums Home › Forums › BatchPatch Support Forum › Scheduled Task for patching help
- This topic has 6 replies, 2 voices, and was last updated 9 years ago by doug.
-
AuthorPosts
-
February 10, 2016 at 5:59 pm #9738dougModerator
Magnus – It’s unclear to me what might be happening here. Let’s please start by removing the scheduler from the equation and starting with the basics. What happens if you highlight a computer (or computers) in BatchPatch and then select ‘Actions > Windows Updates > Check for available updates’ in BatchPatch?
Thanks,
Doug
February 10, 2016 at 9:25 pm #9744Magnus KnightParticipantHi Doug,
I think I see the issue, when I followed your suggestion. When I launched that command, it popped a security warning asking me if I want to allow PSExec.exe to run. When I had the task scheduled to run last night, the same prompt probably happened, but there was no one to say OK to allow.
Now I need to see how to set it so PSExec can run. Should I try it as the service option?
February 10, 2016 at 9:38 pm #9745dougModeratorWhen the popup appears about PsExec, that’s coming from Windows not from BatchPatch. It’s part of Windows trying to protect you from software that you downloaded from the web. On that popup there should be an option to check a box to never prompt you again. And then in the future when psexec runs, it will just run without prompting at all.
-Doug
February 11, 2016 at 1:47 pm #9746Magnus KnightParticipantYeah. I see. I should have thought about that beforehand. I wasn’t thinking about the scheduler getting stuck, not being able to launch PSExec.
Thanks Doug, for the help and the quick reply!
April 13, 2016 at 6:26 pm #11194Magnus KnightParticipantHi Doug,
It’s still not working. I didn’t do anything for April’s updates. I manually ran “Check for Updates” and that worked with no issues. I don’t understand why the scheduled task doesn’t appear to be running.
It did change the next run date to the second Wednesday of May, so it recognized the date changing.
I just checked my scheduled tasks list, and I don’t even see BatchPatch in the list. Shouldn’t BatchPatch have created a scheduled task to be ran in Windows?
April 13, 2016 at 8:24 pm #11195dougModeratorMagnus –
First, you will not see anything appear in the Windows Task Scheduler. BatchPatch tasks have nothing to do with Windows scheduled tasks.
Second, it’s unclear to me what the problem is that you are encountering. BatchPatch must be running in order for tasks to be executed, so perhaps that’s where you’re going wrong. I would suggest you review the tutorial for using the BP task scheduler here: Using the Task Scheduler in BatchPatch
Third, to test what you configure, I would recommend that you create some testing tasks that are scheduled to execute just a minute or two in the future, so that you can watch and make sure that they execute accordingly. If they are using monthly recurrence then you can also modify your system time temporarily to trigger a task to run if it’s scheduled for next month, just to make sure you understand how everything works and that everything executes as expected.
I hope this helps.
-Doug
-
AuthorPosts
- You must be logged in to reply to this topic.