I\'m looking for a utility that will automatically synchronize a file available
ID: 661014 • Letter: I
Question
I'm looking for a utility that will automatically synchronize a file available via a URL ie:
www.someurl.com/file.txt
to a local location on a computer ie:
c:ilesile.txt
It needs to download a copy of the URL file and overwrite the existing file on either a schedule, or based on file changes. (not appending, not making a new file with a different extension, etc).
I've been digging around google for about half an hour and am not having any luck finding something that does that, but I know it has to be out there.
Any help is appreciated.
Explanation / Answer
You can use wget to retrieve the file:
free and open-source
works on Linux and Windows
You can use cron on Linux or Windows Task Scheduler on Windows to schedule your synchronization. Both are free.
Edit: to deploy you can:
on Windows use the command line scheduler "at": e.g. at 8am /EVERY:M,T,W,Th,F,S,Su cmd /c c:myapp.exe
on Linux use crontab: (crontab -l ; echo "0 * * * * your_command") | sort - | uniq - | crontab -
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.