ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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.

0 Kudos
Message 1 of 3
(1,884 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
(1,843 Views)

Thanks! That option totally escaped my mind.

Message 3 of 3
(1,778 Views)