LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate a Windows scheduled task

Solved!
Go to solution

I am making a program that is to be run periodically and I want to use a Windows task for that. To make things simpler for my customer, I want to use my application to generate the task by itself. Surely that must be pretty straightformard with .NET in Labview. Does anyone have any experience with this? Basically, I just want to programatically import an XML that I exported from a task scheduler before. I do not yet know which .NET constructor to use.

------------------------------------------------------------------------------------
Seriously concerned about the Labview subscription model
0 Kudos
Message 1 of 3
(901 Views)
Solution
Accepted by topic author aartjan

I'd start by trying a simple SystemExec with a schtasks command.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 3
(860 Views)

Thanks! That option totally escaped my mind.

------------------------------------------------------------------------------------
Seriously concerned about the Labview subscription model
Message 3 of 3
(795 Views)