On Fri, Jun 7, 2013 at 3:13 PM, Howard White <[email protected]> wrote:

> So what are the best practices in regards to web (ish) apps generating and
> storing files?
>
> I am creating some intra-net, simple utility type "web apps" using minimal
> html wrapped around command output.  One of the commands is nmap which I'd
> just as soon not run every time I click to look at the network scan.
>
> Anyone care to suggest a directory plan for such a thing.
>

My first thought would be to just drop the file in the directory with the
CGI script. The script can stat the file and regenerate it if it's more
than 10 minutes old (or whatever interval you want). Keep it simple.

-- 
Robert Wohlfarth

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to