DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: feature suggestion: auto-start (or restart) a process?  (Read 13,418 times)

ljwobker

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
feature suggestion: auto-start (or restart) a process?
« on: August 27, 2008, 07:35 PM »
How difficult would it be to have process tamer look for the existance of a specific process, and if we detect that it's not running, we start it?  I know this would be useful for me to make certain things like calendaring apps, etc are always running.... (basically if I close it by mistake, PT restarts it for me)...

I can see a logical flow/configuration as something like:

every (some period/interval)
if ( process_name is not running ) then
  run ( this_process )

this would also make it easy to negate... you can say

every (some period/interval)
if (process_name IS running ) then
  run (something)

so looks like it's only 3 parameters to me... the period/interval to check, the process name that is (or isn't) running,
and what process to run if the conditional turns up true.  (oops, that's four parameters counting the negation...)

anyway, it's a thought...

--lj


 

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,217
Re: feature suggestion: auto-start (or restart) a process?
« Reply #1 on: August 28, 2008, 09:33 AM »
This doesn't help with Process Tamer, but if you're really keen, PTFB Pro says it can do what you want:
Quote
PTFB Pro versions 3.4 and above allow to create "program monitor" or "progmon" items. These periodically check to see if a particular program is currently running on your system. Depending on how you've set them up, they'll either launch the target program if it isn't running, or close/kill the program if it is running.
Sanity check - I have PTFB Pro, but haven't tried this particular feature.

PTFB Pro is $29.99 USD, or "free" via TrialPay .

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: feature suggestion: auto-start (or restart) a process?
« Reply #2 on: August 28, 2008, 12:18 PM »
hi lj,
my plan is to add a simple scripting thing to process tamer which could do what you are asking.
-mouser

ljwobker

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
Re: feature suggestion: auto-start (or restart) a process?
« Reply #3 on: August 31, 2008, 04:23 AM »
that'd be sweet.  ;-)

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: feature suggestion: auto-start (or restart) a process?
« Reply #4 on: October 30, 2011, 09:37 PM »
*bump*

I'm also interested in this function.

Original address: https://www.donationcoder.com/forum/index.php?topic=14594.0