Scheduled download of shared folder

Antheus

Gawd
Joined
Feb 5, 2002
Messages
544
hey all, I was wondering if it was possible to schedule a computer (windows or linux...preferably linux since it's an old computer) to download the files in a windows shared folder like once a day or something? Anyone have any idea?
 
With a Linux machine it should be very easy, with a Windows machine, it should be easy as well.

For Linux you'd find a command that easily copies over the files, probably something a bit more advanced than `cp` but I'm not certain, make sure that you had Samba setup so it can see the drive (this is the part I don't know how to do), and schedule a Cronjob to go and retrieve the contents.

For Windows, you'd have to create a batch file that made sure the drive was mapped, or at least setup for `net use` and then `copy *.*` to your local machine. Then make that batch file a "Scheduled Task"

So, should be do-able, Windows will play nicer, but Linux can do it just as well.
 
Back
Top