![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 3,387
|
im using php and crontab.. but ...
hey all you techie porno guys..
im using php for my pages, only get about 11k a day, but i set crontab up with wget to save a copy of the page, but once every twenty minutes if a user goes to the page at the same time as it is being written, then it comes up with a blank page of course... anyone got any ways around this?? many thanks... :-D |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2001
Location: Where the sun don't shine
Posts: 1,185
|
How large is this cronejob since it's a problem should be secounds unless you're rewriting some serious shit. You could make the cron save the new file as new.html then rename old.html to backup_date.html and rename new.html to old.html should go faster if you're rewriting takes a long time
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Mar 2002
Location: how'd I get here?
Posts: 264
|
what he said, store the wget results in temp.filename.php, then mv temp.filename.php filename.php when it's done
__________________
[this signature intentionally left blank] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 3,387
|
yeh that makes sense, ill do that, thanks you guys.
|
![]() |
![]() ![]() ![]() ![]() ![]() |