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:

Shopping Cart Limits? (1998) Goofy Date Sorting (1998) SiteGuard Use Question (1997) New WebCatalog site (1997) docs for WebCatalog2 (1997) no global [username] or [password] displayed ... (1997) Record size-suggestion (1998) Re:no [search] with NT (1997) [WebDNA] SEARCH question (2011) Locking up with WebCatalog... (1997) Sendmail for intranet server (2004) RE: Price recalc based on quantity (1997) WebCat2b15MacPlugin - [protect] (1997) Running 2 two WebCatalog.acgi's (1996) Caching [include] files ... (1997) Frames and WebCat (1997) [OT] Linux Vs. OSX (leopard) server (2007) More on the email templates (1997) WebCat2_Mac RETURNs in .db (1997) Date Calulation (1997)