Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Best way of storing semi-static data

by freddo411 (Chaplain)
on Dec 23, 2004 at 21:01 UTC ( [id://417209]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best way of storing semi-static data
in thread Best way of storing semi-static data

As suggested above by yacoubean, to complete the solution you can have the "makeHTML.pl" script run nightly to make sure that your static page is up to date. Obviously you can set this update interval to any time period you like. Even if you do it as often as hourly your users will enjoy the benefit of a very fast static page.

On Unix the scheduler is called "cron" and the schedule to run things is called a crontab. The command crontab -e will allow you to edit your personal crontab entries. You'll want to set up an ENV var for your visual editor before you run crontab -e (read the man page for details).

Merrry Xmas

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

Replies are listed 'Best First'.
Re^4: Best way of storing semi-static data
by kiat (Vicar) on Dec 24, 2004 at 05:12 UTC
    I just checked that the shared server I'm using allows crons. The minimum interval for a cron job is every one hour. I might be able to use that. Thanks and Merry Xmas :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-16 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found