Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

Closed Unassigned: Personalize task conditions for battery use [11706]

$
0
0
Hi,
I need to enable the task executions even if the notebook is using battery.
I've seen that using the "Task Conditions" from the "Windows Task Scheduler" panel I can set the options needed, how I can perform this operation using the "Task Scheduler Managed Wrapper"?
Thanks.


![Image](http://www.pcwintech.com/files/task_sched5.jpg)
Comments: The option for "Start the task only if ... AC power" is TaskDefinition.Settings.DisallowStartIfOnBatteries and for "Stop if the computer switches to battery power" is TaskDefinition.Settings.StopIfGoingOnBatteries.

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>