Tuesday, June 2, 2015

windows task scheduler - how to run a task if two trigger criteria are met



I am trying to run a task on log on only if the computer is idle. I can also achieve what I want if I can run the task with one idle trigger and make sure it only runs once per system start up to stop it repeatedly starting the script every time the system is idle.



OS: windows 10 1903

task scheduler 1.0


Answer



So apparently I was a little dumb. The option I was looking for was under conditions called "start the task only if the computer is idle for X minutes". So I just used a trigger for log on of any user and this condition and it did what I wanted.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...