Hey guys
Been searching for awhile without any luck.
I need to copy a single text file from a web site, lets call it example.com/file1.txt to my hosting account, lets call that personaldomain.com/
This needs to happen hourly so I presume its going to need a cron job (I will do this via cpanel) Additionally, it needs to overwrite the existing file1.txt every time it copies. If anyone knows the code to do this it will be much appreciated.
Please can you help me out?
Thanks
Been searching for awhile without any luck.
I need to copy a single text file from a web site, lets call it example.com/file1.txt to my hosting account, lets call that personaldomain.com/
This needs to happen hourly so I presume its going to need a cron job (I will do this via cpanel) Additionally, it needs to overwrite the existing file1.txt every time it copies. If anyone knows the code to do this it will be much appreciated.
Please can you help me out?
Thanks