Open wvmarle opened 11 years ago
Yeah, I was thinking about option two already but had a feeling that various firewalls and NATs could complicate things for users? Though our users are supposed to be technically literate so it might not be such a problem?
Sure - that's anyway for advanced users. Basically: "make sure you have a port open on your machine, and allow outside connections in on that port". How to do that, is beyond the scope of glacier-cmd. I think that people who are interested in this script will be able to manage opening a port.
Probably best to implement both options. It's just that I wouldn't know about a scheduler on Windows! An alternative to a scheduler is of course to let your process "sleep" but then if computer is off in the meantime it breaks. Can't have it all...
Glacier has a long time lag between requesting archive retrieval and having it available for download. I'm looking for ways to automate this. I'm thinking basically in two directions.
at now + 4 hours
) an event to download this file. When run, it checks whether file is available, if so download it, if notat now + 15 minutes
try again. Does Windows have such a scheduling tool? Or are Windows users limited to manual polling for their file?Option 2. is definitely the best; allows for many more actions e.g. ask inventory and have it e-mailed to yourself as soon as it's available.