Re: [WebDNA] Trigger stops executing

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113648
interpreted = N
texte = 1243 Here's a scenario I resolved for a new client who couldn't understand why his daily alerts had stopped being sent to him: The server's date/time values were current and correct for a very long time. Then something (or someone, a hacker perhaps?) changed the server's date/time to 3 weeks in the future. WebDNA compared this new server date/time to the NextExecute values in the triggers.db noticed that all those NextExecute values were "in the past" so it immediately ran all those triggers .... and reset all those NextExecute values to a new date/time 3 weeks into the future. Then the server admin discovered the problem and reset the server's date and time properly. But the damage had already been done ... meaning that all the NextExecute dates in the triggers.db had already been set for 3 weeks in the future, so none of those triggers would run again for 3 weeks. Is this what has happened to your failed trigger? BTW, sometimes it "makes sense" to put a sendmail context into your trigger pages so WebDNA can send you an email every time it runs (or just append the trigger hits to a log file if you don't want all those emails). Then when the trigger requests your page but your WebDNA code doesn't do what you expect, at least you'll have some solid evidence that the trigger still ran correctly. You should also reboot the server and see if that clears any glitch that may have caused the triggers to stop working. This is normally the first thing I recommend when a new and unexplained problem comes up. If a reboot doesn't clear the problem, another potential issue might be corruption of the triggers.db. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration > I have a trigger set through the admin triggers screen with > timeout value of 30 seconds to execute the process orders > script. This was working until a few days ago but no longer > does (the orders are not getting processed) - though the > timestamp keeps updating as though it had executed. If I copy > paste the URL designated in the trigger into a browser then > the process orders script executes as expected (the orders > process). What might cause the trigger to no longer work in > this way? --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Trigger stops executing (Donovan Brooke 2017)
  2. Re: [WebDNA] Trigger stops executing (Donovan Brooke 2017)
  3. Re: [WebDNA] Trigger stops executing (Kenneth Grome 2017)
  4. [WebDNA] Trigger stops executing ("mainlighting ." 2017)
1243 Here's a scenario I resolved for a new client who couldn't understand why his daily alerts had stopped being sent to him: The server's date/time values were current and correct for a very long time. Then something (or someone, a hacker perhaps?) changed the server's date/time to 3 weeks in the future. WebDNA compared this new server date/time to the NextExecute values in the triggers.db noticed that all those NextExecute values were "in the past" so it immediately ran all those triggers .... and reset all those NextExecute values to a new date/time 3 weeks into the future. Then the server admin discovered the problem and reset the server's date and time properly. But the damage had already been done ... meaning that all the NextExecute dates in the triggers.db had already been set for 3 weeks in the future, so none of those triggers would run again for 3 weeks. Is this what has happened to your failed trigger? BTW, sometimes it "makes sense" to put a sendmail context into your trigger pages so WebDNA can send you an email every time it runs (or just append the trigger hits to a log file if you don't want all those emails). Then when the trigger requests your page but your WebDNA code doesn't do what you expect, at least you'll have some solid evidence that the trigger still ran correctly. You should also reboot the server and see if that clears any glitch that may have caused the triggers to stop working. This is normally the first thing I recommend when a new and unexplained problem comes up. If a reboot doesn't clear the problem, another potential issue might be corruption of the triggers.db. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration > I have a trigger set through the admin triggers screen with > timeout value of 30 seconds to execute the process orders > script. This was working until a few days ago but no longer > does (the orders are not getting processed) - though the > timestamp keeps updating as though it had executed. If I copy > paste the URL designated in the trigger into a browser then > the process orders script executes as expected (the orders > process). What might cause the trigger to no longer work in > this way? --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us . Kenneth Grome

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:

more [sendmail] woes.. (2000) [SearchString] problem with [search] context (1997) RE: storefront (1998) Multiple Ad databases? (1997) Calculating multiple shipping... (1997) Size limit for tmpl editor ? (1997) Installation Woes (2003) New Server? (2006) WebCatalog 2.0 b 15 mac (1997) Webcatalog and foreign languages (1998) Web Catalog 2 demo (1997) Trouble with [fileinfo] - update: TIP OF THE DAY (THE/) CASTEGORIES IN DIFFERENT FRAMES (1997) Online reference (1997) WC 3.0.1 Mac days_to_date (1998) Last Day of the Month (2005) Date search bug (1998) Backwards list behavior ... (1997) Serial Number Question (1997) Extra Text Fields (was Another question) (1997)