![]() |
WGET Help PLEASE
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.... |
lynx -dump -nolinks "http://theurl" >> filetoappend
|
Quote:
is that correct? |
Quote:
i even bolded the important part. you thought bold meant ignore? |
huh? i dont see a bolded part????
|
Quote:
|
ok i see.. but how do i set it up to pull that link every 10 minutes?
|
bump for help...
|
Quote:
0,10,20,30,40,50 * * * * /command/to/run |
0,10,20,30,40,50 * * * * lynx -dump -nolinks "http://theurl" /usr/local/apache2/file_name
is this correct? |
All times are GMT -7. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123