in reply to Is there a "Holiday" module?

If the problem is simply that duplicate data is downloaded, you could just attempt a download every day. Match some identifier (such as the date posted) in your newest data to the same identifier in the previous data downloaded. If the identifiers are equal, stop the process and try again tomorrow.

Replies are listed 'Best First'.
Re: Re: Is there a "Holiday" module?
by AssFace (Pilgrim) on Apr 25, 2003 at 20:32 UTC
    Yeah, that is actually how this question really came about. I have something like that now that I put in today while it was a slow day at work.

    but that still requires the download of data - and when that happens over thousands of files... well, I'd rather it didn't. I'd rather have them start, see that today isn't their day, and then just close down without ever going to a net connection.

    granted, I could have it do it on the first file, and the "assume" that if the first file (or set it so if it passes some threshold of files that have dupes) has duplicate data, they all are going to, so die out... but as far as I can tell, in programming (and much else in life) assumption is pretty much always a bad call.

    -------------------------------------------------------------------
    There are some odd things afoot now, in the Villa Straylight.