![]() |
![]() |
![]() |
||||
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 |
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
![]() this is what i want to do: use WGET to pull a url of text every 10 minutes and write it to a file. I know how to do this part. what i dont know how to do is get it to continue to write to the file without it overwritting the original file.
example: the first wget of the url would write this to a text file: test one test two the 2nd wget of the url would add this to the first file test three test four etc.. so after the 2nd wget the file would look like this: test one test two test three test four etc.. does anyone here know how to do this? thanks.... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
lynx -dump -nolinks "http://theurl" >> filetoappend
__________________
254342256
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
Quote:
is that correct? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
Quote:
i even bolded the important part. you thought bold meant ignore?
__________________
254342256
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
huh? i dont see a bolded part????
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
Quote:
__________________
254342256
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
ok i see.. but how do i set it up to pull that link every 10 minutes?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
bump for help...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
Quote:
0,10,20,30,40,50 * * * * /command/to/run |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
0,10,20,30,40,50 * * * * lynx -dump -nolinks "http://theurl" /usr/local/apache2/file_name
is this correct? |
![]() |
![]() ![]() ![]() ![]() ![]() |