Re: [WebDNA] triggers executed at boot instead of scheduled time

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107175
interpreted = N
texte = This is a multi-part message in MIME format.--------------040008040101060702070803Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHi Donovan,Great suggestion. Especially the logging of each different code that fires.I just looked at all the Trigger's next execute times in the Admin area and they are all correct. The credit card batch's next trigger is 23:59:50 as it should be. I rebooted the box around 13:30:00 and shortly after is when it executed.Thanks so much,SteveDonovan Brooke wrote:> Hi Steve,>> As mentioned in the trigger admin:> "The trigger will execute if it is enabled, and the NextExecute time> is earlier than the current time">> My guess is that the NextExecute had passed while your server was > having issues..>> Anyway,> I don't like to rely on triggers to run code at certain times.> Instead, I wrap my code to be fired in a "time wrapper"..>> ie. (code to be ran once daily)> -----------------------------------------------------------> [if ({[time]} < {sometime}) Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] triggers executed at boot instead of scheduled time ( 2011)
  2. Re: [WebDNA] triggers executed at boot instead of scheduled time (Steve Raslevich - Northern Sound 2011)
  3. Re: [WebDNA] triggers executed at boot instead of scheduled time (Donovan Brooke 2011)
  4. [WebDNA] triggers executed at boot instead of scheduled time (Steve Raslevich - Northern Sound 2011)
This is a multi-part message in MIME format.--------------040008040101060702070803Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHi Donovan,Great suggestion. Especially the logging of each different code that fires.I just looked at all the Trigger's next execute times in the Admin area and they are all correct. The credit card batch's next trigger is 23:59:50 as it should be. I rebooted the box around 13:30:00 and shortly after is when it executed.Thanks so much,SteveDonovan Brooke wrote:> Hi Steve,>> As mentioned in the trigger admin:> "The trigger will execute if it is enabled, and the NextExecute time> is earlier than the current time">> My guess is that the NextExecute had passed while your server was > having issues..>> Anyway,> I don't like to rely on triggers to run code at certain times.> Instead, I wrap my code to be fired in a "time wrapper"..>> ie. (code to be ran once daily)> -----------------------------------------------------------> [if ({[time]} < {sometime}) Steve Raslevich - Northern Sound

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:

GuestBook example (1997) OT: javascript help (2003) Now you see it now you donīt (1997) Sort Order on a page search (1997) List of WebDNA users (2002) Math with Time (1997) Everyone: List Traffic (was [include ...] behavior) (1997) [WebDNA] A new popuated field to a DB with 700.000 records (2009) Rendering out a page (1997) Grep search not working (2002) Is there a way......... (2000) listfile options (1997) [WriteFile] problems (1997) Online reference (1997) Webcat/javascript interactive pulldowns Q (2002) Showif, Hideif reverse logic ? (1997) WebCatalog can't find database (1997) [WebDNA] Help with work-around format date (2013) [CART] (1997) More news on 5.0 (2003)