Solved

Keep an application running persistently

Posted on 2006-06-30
5
363 Views
Last Modified: 2008-03-17
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?
0
Comment
Question by:bubba_1234
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
gbirkemeier earned 500 total points
ID: 17018705
Have you set the actions on the Recovery tab on the service properties.
Using them you can tell the service what to do when it crashes/stalls.

Open Computer Management
Select services
Double click the service you need to work with
Select the recovery tab
Set the actions to take when the service fails

0
 

Author Comment

by:bubba_1234
ID: 17019241
If the program stopping by itself or by a screen saver is considered a "failure" Computer Management might then know that it is a failure and take action. It will take me a few days to test. I interpret a failure is a program freeze or something else. Good idea, I will try it.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 17025685
You are fighting BAD programming by these people -- if the app is not available to the workstations, it is BUM programming by the group you are supporting.  It takes YEARS for programmers to wake up to their errors, most never do.

I would suggest you DUMP this bad software, and set all your network printers to be available through windows file and proint sharing services.  Those that can do straight TCP/IP printing, use that feature.  All you have to do is set up the TCP/IP port on the server, and all workstations can "attach" to that server setup, and they will adopt the same parameters.  If you do this, regardless of screen savers or power management, you will find that all workstations will be able to print to all printers at all times of the day.
0
 

Author Comment

by:bubba_1234
ID: 17043638
Scrath,
Technesis is print tracking that will log prints for billing. So we will get some big $$$ for all the prints generated by this office. Windows File and Print sharing won't do this.

Technesis works great. It's just there is this glitch so far. I DO have a call in to Technesis support and am waiting.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adobe Customization Wizard XI issues 26 210
Lite dgn, dwg free viewer 1 99
Workstation Monitoring Solution for Small Business Consultant! 5 125
Real VNC setup on Windows 2008 5 49
Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now