Interval Deployments After Time Lapse
Hello,
We need to run a deployment regularly for security reasons. We have PDQ Inventory to run the schedule against a collection. I suspect that I'm missing the correct terminology to create the correct search terms.
These are the requirements
- The script runs on a specific computer after 7 days have lapsed since the last successful run.
- The script runs when the computer is online (heartbeat)
I could only find a way to start the deployment at a specific time at designated time interval. The problem with that approach is that it requires all of the computers to be turned on at the same time on that regular interval. I also don't want it to run only once the first time it connects (heartbeat).
Thanks for the suggestions in advance!
-
In my opinion, the best approach would be to do this:
- Create a PDQ Inventory collection containing only computers that haven't had the script run within the past 7 days. See below for an example of how to build this collection (I used my Zoom package as an example but you would change the package name to match your script package)
- Create a PDQ schedule that targets only that collection and runs on a heartbeat + interval trigger.
- Create a PDQ Inventory collection containing only computers that haven't had the script run within the past 7 days. See below for an example of how to build this collection (I used my Zoom package as an example but you would change the package name to match your script package)
-
Oh. I hadn't thought about using the collection as a way of keeping track a deployment. Interesting. Thank you. It looks like the collection will only include computers that have had the deployment run on it once before. Which means, it would never have a computer listed. Is there a way to read a deployment status of null or never?
Please sign in to leave a comment.
Comments
3 comments