Keep an application running persistently
Posted on 2006-06-30
My question is, how do I keep an application alive throughout the day?
I installed and deployed Technesis print tracking software to some machines in our office. The software works well but on some of the machines the Technesis Pop-up (SmartPrint) which should normally show an icon in the system tray, times-out. When this service times-out, prints aren't tracked. I could set the server to not allow prints if the app is not running but users would have to click Start->Programs->Technesis->"pop-up" as many times a day as necessary which is too much in my opinion.
This occurs on Windows 2000 sp4 and XPsp2 machines. I suspect that these users either have hibernation active or that they have simply a screen saver. This may cause the pop-up to not start up after restoring a desktop. But I have not tested that thoroughly yet.
Technesis does run as a "service" in services.msc. On my computer, startup type is set to "auto" and I have not seen the program stop in the middle of the day.
Is there a way to keep wanted apps running all day and not stalling? Do I need to set a scheduled task to run every 15 minutes or something?