Re: Auto Delete EmailCompleted Files
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45659
interpreted = N
texte = I'm cautious about removing a preference in WebDNA with a blank entry ..Emailer must try and write the file each time and error internally.Call me paranoid but I would rather it wrote them and I use a cron shellscript to remove them at night .. Move the directory, recreate it and delete.. Takes about 1 second with 12k emails in the folder ..#!/bin/shcd /Library/WebServer/CGI-Executables/WebCatalogEnginemv EmailCompleted EmailCompleted.oldmkdir EmailCompletedchown www:www *chmod 700 EmailCompletedrm -R EmailCompleted.old> on 11/22/02 7:05 PM, Alain Russell at alain.russell@blackpepper.co.nz wrote:> >> Why keep them at all - we delete them every night ..> curious though,. If there is no reason to keep these at all, why go through> the trouble of using triggers to delete them, as well as the cpu/IO to first> write them, and then delete them.> > Why not keep the completed directory empty and let emailer never save the> completed emails to begin with?> > Did i miss something?> Alex> > -------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I'm cautious about removing a preference in WebDNA with a blank entry ..Emailer must try and write the file each time and error internally.Call me paranoid but I would rather it wrote them and I use a cron shellscript to remove them at night .. Move the directory, recreate it and delete.. Takes about 1 second with 12k emails in the folder ..#!/bin/shcd /Library/WebServer/CGI-Executables/WebCatalogEnginemv EmailCompleted EmailCompleted.oldmkdir EmailCompletedchown www:www *chmod 700 EmailCompletedrm -R EmailCompleted.old> on 11/22/02 7:05 PM, Alain Russell at alain.russell@blackpepper.co.nz wrote:> >> Why keep them at all - we delete them every night ..> curious though,. If there is no reason to keep these at all, why go through> the trouble of using triggers to delete them, as well as the cpu/IO to first> write them, and then delete them.> > Why not keep the completed directory empty and let emailer never save the> completed emails to begin with?> > Did i miss something?> Alex> > -------------------------------------------------------------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://webdna.smithmicro.com/
Alain Russell
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:
Looking for WebCat host (1998)
NT - Thanks and Taxes (1997)
Mac: [ListFiles] bug alert (1997)
Separate SSL Server (1997)
Turning a URL into a link (2003)
Problems getting parameters passed into email. (1997)
Download URL & access on the fly ? (1997)
ReturnRaw (1999)
WebDNA Solutions ... sorry! (1997)
Snake Bites (1997)
[WebDNA] WebDNA restart script (2015)
WebCat2 - [format thousands] (1997)
Problems with [Search] param - Mac Plugin b15 (1997)
Only charge card when product shipped ? (1997)
WebCat2 several catalogs? (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
about this server and links to who (1997)
database visibility (2000)
RE: Unexceling (was I need a smart quote...) (1999)
SQL statements (2002)