|
#1
|
||||
|
||||
|
Linux/Unix Cron Job Hhelp with file handling
I am looking to run a cron job which will simulate a 'post' request (such as http://wxr.herenow.com/datapage.asp?...t_ip=hagsfd)to a remote website, which will return a CSV file which I then need to save on my web server to be accessed and parsed at a later date by a php script.
Can anybody help? |
|
#2
|
|||
|
|||
|
Hello there smudger!
as far as the 'post' request, maybe wget has something that you can use http://www.gnu.org/software/wget/wget.html |
|
#3
|
||||
|
||||
|
Hi
Thanks I figured it out with trial and error. I created a php file with a require with the complete path and post data for the external dynamic page, then called the php script and dumped the output to a file on host. This works great. Thanks for the page link I will check it out also. |
|
#4
|
|||
|
|||
|
Quote:
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 09:33 PM.
[
RSS ]








