
May 29th, 2006, 11:24 AM
|
|
|
|
Join Date: Apr 2007
Posts: 28
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Cron Wget Job.....Should be Easy
I know this should be easy....but I can not find an example of it anywhere. I read through the Cron man pages but it was all advanced stuff. What I want to do is fairly simple.
My wget command works fine....
wget http://server/data/dir/text.txt
What I want is it to save to the correct location.
In this case httpdocs/cache
These are all simple text files.
While I am bothering everyone...I might as well ask how I could string these all together? Lets say I have 10 text files all in the same remote dir and save them to the same cache dir.....ie text1.txt, text2.txt etc....
If you know of a working example of this...I am happy to go read....I rooted around and could not find an example that included the change of dirs.
Thank You for your time!!
Dawg
|