Re: [python-win32] taskscheduler: how to tick setting "Run task as soon as possible after scheduled start is missed"

2023-01-09 Thread Eryk Sun
On 1/5/23, Joel Moberg wrote: > Maybe I can adjust the flag in the Trigger object but I have no idea what > flags are available. The following loosely adapts Microsoft's time trigger task example, with commented links to get further information. The property that directly addresses your question

Re: [python-win32] taskscheduler: how to tick setting "Run task as soon as possible after scheduled start is missed"

2023-01-08 Thread Steven Manross
I haven’t seen a response for this yet, but… I have done work with the TaskScheduler in powershell, and in powershell you can do something like this: PS C:\Users\Administrator.DOMAIN> (Get-ScheduledTask -TaskName mytask).Settings AllowDemandStart: True AllowHardTerminate