Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Neil Lopez
  Where is Neil Lopez?
 Irvine
 California - United States
 Neil Lopez
 To: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 Tags
Subject: RE: Run VFP program as NT service
Thread ID: 20525 Message ID: 51502 # Views: 3 # Ratings: 0
Version: Visual FoxPro 7 Category: Operating Systems
Date: Tuesday, September 14, 2004 12:37:38 AM         
   


> > > > Thanks Pete.
> > > >
> > > > I've also stripped it down to just one prg with no success. I read something on one of my web searches that it might be conflicting with another service but they gave no solutions to debug.
> > > >
> > > > I saw Taz's posting on this same thread it says to try to just add it to the "HKEY_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run" as a stringvalue.
> > > > Do you know if this will start up like a service or will it require someone logging in the machine?
> > > >
> > > > Neil
> > >
> > > That will start it up before anyone logs in. You can also use the Windows Task Scheduler to start a program at computer startup.
> > > KTB
> >
> > Ken,
> >
> > I added it to the registry Run but it does not run until I log in. The same goes for the Task Scheduler. I'll try to see if there is any other avenues to explore.
> >
> > Thanks,
> >
> > Neil
>
> Isn't there an "At System Startup" option under the schedule for Scheduled Tasks?
>
> KTB

Ken,

You are actually correct. I just used task scheduler and set it to run from a specific time and set it up with an account with administrator rights to the server. The task starts and stops at specific times. It can also be set-up to start at machine startup but I opted the specific range of time. These servers are hardly rebooted so in case someone or somehow the task stops, it will again start the next morning and will not have to depend on a server reboot. Having said that, the only way to start and stop this (as far as I know) apart for it's scheduled start and stop times is to actually login to the machine. Unlike an NT service, which can be started and stopped remotely, this requires login to the machine. But the main thing is it works!

Thanks a bunch,

Neil

ENTIRE THREAD

Run VFP program as NT service Posted by Chris Van de Velde @ 2/23/2003 6:41:27 PM
RE: Run VFP program as NT service Posted by Taz @ 2/24/2003 5:07:18 AM
RE: Run VFP program as NT service Posted by Sivaramakrishnan Parameswaran @ 2/24/2003 5:54:48 AM
RE: Run VFP program as NT service Posted by Eric den Doop @ 2/24/2003 7:29:09 AM
RE: Run VFP program as NT service Posted by Neil Lopez @ 8/24/2004 7:37:46 PM
RE: Run VFP program as NT service Posted by Pete Sass @ 8/24/2004 8:32:26 PM
RE: Run VFP program as NT service Posted by Pete Sass @ 8/24/2004 8:34:20 PM
RE: Run VFP program as NT service Posted by Neil Lopez @ 8/24/2004 8:55:21 PM
RE: Run VFP program as NT service Posted by Ken Blum @ 8/24/2004 9:04:03 PM
RE: Run VFP program as NT service Posted by Neil Lopez @ 8/24/2004 9:10:37 PM
RE: Run VFP program as NT service Posted by Neil Lopez @ 8/24/2004 11:16:58 PM
Run VFP program as NT service "Extreme Caution" Posted by Pete Sass @ 8/25/2004 1:25:59 AM
RE: Run VFP program as NT service Posted by Ken Blum @ 8/25/2004 4:30:50 PM
RE: Run VFP program as NT service Posted by Pete Sass @ 8/25/2004 5:38:27 PM
RE: Run VFP program as NT service Posted by Neil Lopez @ 9/14/2004 12:37:38 AM