Re: Trigger time setting

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41032
interpreted = N
texte = Alisha, I think, maybe mistaken, but in order to set the trigger to fire everday at a time specified you must use * in place of the day and year. As far as every monday, you may be able to do is this: when you trigger goes off, the file that is executed could contain an [append] script that would clear the present trigger from the db and append another exactly seven days from that date and time.PSEUDO Code:[append db=triggers.db]SKU=101&Trigger=TIME&Param=2004 * * * * *&NextExecute=[date %Y/%m/%d] [math time]{date]}+7[/math]&Enable=T&ExecuteURL=example.tpl&User=admin&Pass=admin& WasGood=&TimeoutSeconds=30&RetrySeconds=10[/append] [commitdatabase db=triggers.db]Just an idea.-Adam O----- Original Message ----- From: Alisha Outridge To: WebCatalog Talk Sent: Thursday, June 27, 2002 11:27 AM Subject: Trigger time setting > If I want to set a trigger in WebCat admin to run once everyday at > 8:00pm, how do I do that? > > If I want to set a trigger in WebCat admin to run on Mondays at 9:00pm, > how do I do that? > > > ------------------------------------------------------------- > 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 > Web Archive of this list is at: http://search.smithmicro.com/ > ----- Original Message ----- From: Nitai @ ComputerOil To: WebCatalog Talk Sent: Thursday, June 27, 2002 12:04 PM Subject: Re: Trigger time setting On 27.6.2002 5:27 PM, Alisha Outridge wrote:> If I want to set a trigger in WebCat admin to run once everyday at > 8:00pm, how do I do that?In the hour field you would put 08.> If I want to set a trigger in WebCat admin to run on Mondays at 9:00pm, > how do I do that?In the day filed put Mon and hour 09.Sincerely, Nitai Aventaggiato CEO-- Tools to energize business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Trigger time setting (Kenneth Grome 2002)
  2. Re: Trigger time setting (Pedro Rivera 2002)
  3. Re: Trigger time setting (Alisha Outridge 2002)
  4. Re: Trigger time setting (Nitai @ ComputerOil 2002)
  5. Re: Trigger time setting (Donovan 2002)
  6. Re: Trigger time setting (Pedro Rivera 2002)
  7. Re: Trigger time setting (Alisha Outridge 2002)
  8. Re: Trigger time setting (Adam L. O'Connor 2002)
  9. Re: Trigger time setting (Donovan 2002)
  10. Re: Trigger time setting (Nitai @ ComputerOil 2002)
  11. Trigger time setting (Alisha Outridge 2002)
Alisha, I think, maybe mistaken, but in order to set the trigger to fire everday at a time specified you must use * in place of the day and year. As far as every monday, you may be able to do is this: when you trigger goes off, the file that is executed could contain an [append] script that would clear the present trigger from the db and append another exactly seven days from that date and time.PSEUDO Code:[append db=triggers.db]SKU=101&Trigger=TIME&Param=2004 * * * * *&NextExecute=[date %Y/%m/%d] [math time]{date]}+7[/math]&Enable=T&ExecuteURL=example.tpl&User=admin&Pass=admin& WasGood=&TimeoutSeconds=30&RetrySeconds=10[/append] [commitdatabase db=triggers.db]Just an idea.-Adam O----- Original Message ----- From: Alisha Outridge To: WebCatalog Talk Sent: Thursday, June 27, 2002 11:27 AM Subject: Trigger time setting > If I want to set a trigger in WebCat admin to run once everyday at > 8:00pm, how do I do that? > > If I want to set a trigger in WebCat admin to run on Mondays at 9:00pm, > how do I do that? > > > ------------------------------------------------------------- > 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 > Web Archive of this list is at: http://search.smithmicro.com/ > ----- Original Message ----- From: Nitai @ ComputerOil To: WebCatalog Talk Sent: Thursday, June 27, 2002 12:04 PM Subject: Re: Trigger time setting On 27.6.2002 5:27 PM, Alisha Outridge wrote:> If I want to set a trigger in WebCat admin to run once everyday at > 8:00pm, how do I do that?In the hour field you would put 08.> If I want to set a trigger in WebCat admin to run on Mondays at 9:00pm, > how do I do that?In the day filed put Mon and hour 09.Sincerely, Nitai Aventaggiato CEO-- Tools to energize business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Adam L. O'Connor

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:

Maybe off topic but how to charge (1997) Alternating BGColors in Table Rows (1998) BUG: Switch inside ListFields context (2005) Reversed words (1997) WebMerchant Problem (1999) Include a big block of text (1997) restarting service remotely on NT (1997) Nesting Search Within Tag? (1997) Simple Database close connection (2001) problems with 2 tags (1997) [math] variable question (1997) Calendar using WebCatalog? (1997) Small problem (2001) creating a 60 fields database (1997) Re[4]: Problem with new formvariables (2000) Viewing old carts (was FEW QUESTIONS) (1997) [WebDNA] Google Maps (2019) [SearchString] problem with [search] context (1997) Finding max value for a field (1997) Display [price] in banner ad (1998)