|
#45345
02/21/2001 12:07 PM
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
I posted this over at IP as a feature suggestion, but maybe it's more of a cool hack then a feature. Anyway, here it is: Empty cache on a schedule. Have it setable through the CP. Have the ability to empty once a week, once a month, or more often if ness/possible. Just an idea.
|
|
|
#45346
02/21/2001 7:02 PM
|
Joined: Nov 2000
Posts: 24
Junior Member
|
Junior Member
Joined: Nov 2000
Posts: 24 |
this is doable through crontab...if you have access to it of course
|
|
|
#45347
02/21/2001 7:06 PM
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
I'm sorry... I just don't understand your reply.
|
|
|
#45348
02/21/2001 7:13 PM
|
Joined: Nov 2000
Posts: 24
Junior Member
|
Junior Member
Joined: Nov 2000
Posts: 24 |
ok, sorry about that.
If your host is a unix host, they might have a little service called "Crontab" running on their servers. Crontab is a schedualing service for Unix that lets you run CGI scripts or anything else at a specified time and interval. Do you have this function available?
|
|
|
#45349
02/21/2001 7:41 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
yes, but it would be easier to run it differently. Alot of people dont have crontab.
|
|
|
#45350
02/21/2001 7:55 PM
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
ahhh. Thanks for the info! Well, my (ISP's) server is UNIX so I may have that available to me. I'll have to check. I still think is should be a feature or at the least a cool hack.
|
|
|
#45351
02/22/2001 8:33 AM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
One question: WHY would you want to clear the cache every so often?
Another solution is to run a portless daemon in perl that deletes the cache files at regualr intervals, but your system setup might complicate things. At least you wouldn't have to go mucking about with root-level acces for chrontab tho..
|
|
|
#45352
02/22/2001 11:52 AM
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
I think some users with limited web space may find this feature handy. Since there is no way to limit the cache size this would keep it from getting too big too fast. Just an idea... maybe it's not that great of one.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|