Re: PowerKey and PageSentry not playing nice

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 25925
interpreted = N
texte = If you what you mean when you say locked, is always on, then yes. Both outlets are set to always on. This is what I thought was supposed to be set for computers with he softkey startup. Here is the script that came with the powerkey for use with Page sentry.on «event SENTfail» sentryName given «class FURL»:failedURL, «class XTRA»:extra, «class STAT»:Status local unitIndex if Status does not start with OK: then set unitIndex to findUnit(extra) if (unitIndex ‚ 0) then tell application PowerKey Extension set level of outlet extra of unit unitIndex to 0 pause(5) of me set level of outlet extra of unit unitIndex to 100 end tell else beep end if end ifend «event SENTfail»-- Return the index of the PowerKey unit that contains a named outlet -- returns zero if the specified outlet is not found on findUnit(outletName) tell application PowerKey Extension set unitCount to count of units repeat with unitIndex from 1 to unitCount if name of every outlet of unit unitIndex contains outletName then return unitIndex end if end repeat end tell return 0 end findUnit -- Pause for s specified number of seconds. on pause(|delay|) local endTime set endTime to (current date) + |delay| repeat while (current date) < endTime end repeat end pause>Is the outlet locked? Open the Preferences in the PowerKey Editor and see >if the second outlet is locked. We could also see your PKP restart script. >. . > >Jesse Williams Proudman - NineWire Production > http://www.ninewire.com <-> Jesse@ninewire.com > Innovative and Creative Web Design and Hosting > > > > > > I have sent this to both companies tech support departs. but this > > week is MacWorld, so I am asking here too =) > > > > > > Hi, > > > > I just got a PowerKey Pro 600 and am trying to use PageSentry to > > restart a Web Server when an http request fails. > > > > I have read both the manuals and can still not get it to work. > > > > Here is the setup. > > > > PageSentry server 8500/150 running 8.6 and latest verison of PageSentry. > > PowerKey Pro 600, with latest software. > > > > the server is a beige G3 running 8.6 as well. > > > > The sentry server is plugged into the PowerKey outlet #2 > > The WebServer is plugged into outlet #1 and set as CPU. > > I also have that special cable (adb) plugged into the powerkey and > > into the back of the computer. The PowerKey applescript is in the > > PageSentry folder. I have defined all the settings as shown in the > > docs. > > > > When the http request fails, it runs the script but does not restart > > the outlet which I defined. > > > > This is driving me crazy and I need to get this running early today. > > Please help. >-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: PowerKey and PageSentry not playing nice (Charles Kline 2000)
  2. Re: PowerKey and PageSentry not playing nice (Jesse Williams Proudman 2000)
  3. OT: PowerKey and PageSentry not playing nice (Charles Kline 2000)
If you what you mean when you say locked, is always on, then yes. Both outlets are set to always on. This is what I thought was supposed to be set for computers with he softkey startup. Here is the script that came with the powerkey for use with Page sentry.on «event SENTfail» sentryName given «class FURL»:failedURL, «class XTRA»:extra, «class STAT»:Status local unitIndex if Status does not start with OK: then set unitIndex to findUnit(extra) if (unitIndex ‚ 0) then tell application PowerKey Extension set level of outlet extra of unit unitIndex to 0 pause(5) of me set level of outlet extra of unit unitIndex to 100 end tell else beep end if end ifend «event SENTfail»-- Return the index of the PowerKey unit that contains a named outlet -- returns zero if the specified outlet is not found on findUnit(outletName) tell application PowerKey Extension set unitCount to count of units repeat with unitIndex from 1 to unitCount if name of every outlet of unit unitIndex contains outletName then return unitIndex end if end repeat end tell return 0 end findUnit -- Pause for s specified number of seconds. on pause(|delay|) local endTime set endTime to (current date) + |delay| repeat while (current date) < endTime end repeat end pause>Is the outlet locked? Open the Preferences in the PowerKey Editor and see >if the second outlet is locked. We could also see your PKP restart script. >. . > >Jesse Williams Proudman - NineWire Production > http://www.ninewire.com <-> Jesse@ninewire.com > Innovative and Creative Web Design and Hosting > > > > > > I have sent this to both companies tech support departs. but this > > week is MacWorld, so I am asking here too =) > > > > > > Hi, > > > > I just got a PowerKey Pro 600 and am trying to use PageSentry to > > restart a Web Server when an http request fails. > > > > I have read both the manuals and can still not get it to work. > > > > Here is the setup. > > > > PageSentry server 8500/150 running 8.6 and latest verison of PageSentry. > > PowerKey Pro 600, with latest software. > > > > the server is a beige G3 running 8.6 as well. > > > > The sentry server is plugged into the PowerKey outlet #2 > > The WebServer is plugged into outlet #1 and set as CPU. > > I also have that special cable (adb) plugged into the powerkey and > > into the back of the computer. The PowerKey applescript is in the > > PageSentry folder. I have defined all the settings as shown in the > > docs. > > > > When the http request fails, it runs the script but does not restart > > the outlet which I defined. > > > > This is driving me crazy and I need to get this running early today. > > Please help. >-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Charles Kline

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] Convert db to MySQL (2009) Orderfile context problem (1998) Moment of Thanks (1997) Getting Emailer to send mail (1997) transferring values (1998) Getting Values into Cart the easy way?* (1998) Un[url]ize (1999) Webcatalog on MacOs (2000) [WebDNA] 6.2 Monitor (2012) [WebDNA] Was: wiki Now: Object-oriented programmng (2009) Database Updates (1997) price change help (1998) test - ignore (2008) How do I get Google to crawl a WebCat site? (2003) Still Stumped on ShowNext...HELP! (1997) POSTing to a secure server ... (2000) [WebDNA] opinions on [switch] [case]... (2009) Multiple prices (1997) problems with 2 tags (1997) [WebDNA] postfix and dna (2011)