Re: Comet Anywhere Watchdog


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Keith Smith on November 21, 2008 at 20:29:22:

In Reply to: Comet Anywhere Watchdog posted by Jon Sacks on November 19, 2008 at 11:13:11:

Jon: At the beginning of my career, I was always thinking of ways to make life easier for myself by coding a program. Upon reading your blog, started thinking how this could be done. Give a problem to several programmers and you'll get several solutions. So there is no ONE solution! I'll offer two possibilities. PSTAT was my first thought. If someone leaves their workstation, then PSTAT will just keep delivering the same status info. By use of an array, keyed file or string fields store the entire PSTAT result string, increment a counter, perform a PAUSE then repeat. If the result string ever changes, reset the counter to zero and repeat. PAUSE 18 is 1 second. You decide the PAUSE value. If the counter ever gets to a set number, KILL the partition. Comet Anywhere has logged off. 2nd solution could be to run a program in background that KILLS partitions at a set time, say 10:00 PM. Here's the baton...


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]