Re: [WebDNA] Trigger troubles

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111498
interpreted = N
texte = --001a11c330601ac34904fff64e7d Content-Type: text/plain; charset=UTF-8 Tom, I know this doesn't help directly, but I do crons and edit them via webmin gui. I've never tried editing the crontab file(s) from [shell] but since webdna runs as user apache (fedora) or www-data (debian), I'm positive you'll run into ownership/permission issues. I've gotten WebDNA to be able to send shell commands to the firewall for use in a honeytrap, but it involved giving apache user permission to run the specific command via sudoers file. I'm sure there's a better/easier way... -Dan Strong http://DanStrong.com On Wed, Aug 6, 2014 at 3:57 AM, Tom Duke wrote: > Hi all, > > I have a set of triggers that have been running well for over six months. > In the last week however they have started to fail. > > I *think* that one of the triggers is causing a difficulty, and that is > then shutting down all the triggers (i.e. the next execution time is not > updating) and the only way to sort it out is a reboot of WebDNA. > > Soooo ... do people have any suggestions about bulletproofing triggers: > > - what the best practice re: timeout and retry settings > - should I use spawn in trigger templates to prevent a rogue trigger from > bringing all triggers to a halt > - is there any way to test that triggers are active and script a WebDNA > reboot if they stop > - if I switch to cron can I add / edit the crontab using [shell] > - can cron hit protected templates > > Thanks > - Tom > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a11c330601ac34904fff64e7d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Tom, I know this doesn't help directly, but I do crons= and edit them via webmin gui. I've never tried editing the crontab fil= e(s) from [shell] but since webdna runs as user apache (fedora) or www-data= (debian), I'm positive you'll run into ownership/permission issues= .

I've gotten WebDNA to be able to send shell commands to = the firewall for use in a honeytrap, but it involved giving apache user per= mission to run the specific command via sudoers file.

I'm sure there's a better/easier way...




On Wed, Aug 6, 2014 at 3:57 AM, Tom Duke= <tom@revolutionaries.ie> wrote:
Hi all,

I have a set of triggers that have been running well fo= r over six months. =C2=A0 In the last week however they have started to fai= l.

I *think* that one of the triggers is causing a= difficulty, and that is then shutting down all the triggers (i.e. the next= execution time is not updating) and the only way to sort it out is a reboo= t of WebDNA.

Soooo ... do people have any suggestions about bulletpr= oofing triggers:

- what the best practice re: time= out and retry settings
- should I use spawn in trigger templates = to prevent a rogue trigger from bringing all triggers to a halt
- is there any way to test that triggers are active and script a WebDN= A reboot if they stop
- if I switch to cron can I add / edit the = crontab using [shell]
- can cron hit protected templates

Thanks
- Tom

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--001a11c330601ac34904fff64e7d-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Trigger troubles (Donovan Brooke 2014)
  2. Re: [WebDNA] Trigger troubles (Dan Strong 2014)
  3. [WebDNA] Trigger troubles (Tom Duke 2014)
--001a11c330601ac34904fff64e7d Content-Type: text/plain; charset=UTF-8 Tom, I know this doesn't help directly, but I do crons and edit them via webmin gui. I've never tried editing the crontab file(s) from [shell] but since webdna runs as user apache (fedora) or www-data (debian), I'm positive you'll run into ownership/permission issues. I've gotten WebDNA to be able to send shell commands to the firewall for use in a honeytrap, but it involved giving apache user permission to run the specific command via sudoers file. I'm sure there's a better/easier way... -Dan Strong http://DanStrong.com On Wed, Aug 6, 2014 at 3:57 AM, Tom Duke wrote: > Hi all, > > I have a set of triggers that have been running well for over six months. > In the last week however they have started to fail. > > I *think* that one of the triggers is causing a difficulty, and that is > then shutting down all the triggers (i.e. the next execution time is not > updating) and the only way to sort it out is a reboot of WebDNA. > > Soooo ... do people have any suggestions about bulletproofing triggers: > > - what the best practice re: timeout and retry settings > - should I use spawn in trigger templates to prevent a rogue trigger from > bringing all triggers to a halt > - is there any way to test that triggers are active and script a WebDNA > reboot if they stop > - if I switch to cron can I add / edit the crontab using [shell] > - can cron hit protected templates > > Thanks > - Tom > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a11c330601ac34904fff64e7d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Tom, I know this doesn't help directly, but I do crons= and edit them via webmin gui. I've never tried editing the crontab fil= e(s) from [shell] but since webdna runs as user apache (fedora) or www-data= (debian), I'm positive you'll run into ownership/permission issues= .

I've gotten WebDNA to be able to send shell commands to = the firewall for use in a honeytrap, but it involved giving apache user per= mission to run the specific command via sudoers file.

I'm sure there's a better/easier way...




On Wed, Aug 6, 2014 at 3:57 AM, Tom Duke= <tom@revolutionaries.ie> wrote:
Hi all,

I have a set of triggers that have been running well fo= r over six months. =C2=A0 In the last week however they have started to fai= l.

I *think* that one of the triggers is causing a= difficulty, and that is then shutting down all the triggers (i.e. the next= execution time is not updating) and the only way to sort it out is a reboo= t of WebDNA.

Soooo ... do people have any suggestions about bulletpr= oofing triggers:

- what the best practice re: time= out and retry settings
- should I use spawn in trigger templates = to prevent a rogue trigger from bringing all triggers to a halt
- is there any way to test that triggers are active and script a WebDN= A reboot if they stop
- if I switch to cron can I add / edit the = crontab using [shell]
- can cron hit protected templates

Thanks
- Tom

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--001a11c330601ac34904fff64e7d-- Dan Strong

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:

Going to anchors within a template page (1997) Remote Administration (1998) [WebDNA] OT - some girls like guys for their WebDNA (2010) Using Applescript to process WebCatalog functions (1998) NT version and O'reily's WebSite (1997) .htaccess to make WebDNA serve HTML (2007) Context and commands (1998) Emailer setup (1997) 4.0 upgrade pricing (2000) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) question: writing files textb in webmerch (1997) Hierarchy of form/text/math variables (renamed thread) (2000) Instructions for Digest (1997) A question on sub-categories (1997) Strange ThisURL under Linux (2000) European Convention...REPORT (2004) Email (2000) international time (1997) Thanks for tips, more quest (1997) More on the email templates (1997)