in reply to Re: Building a test environment
in thread Building a test environment

Again, sorry, I didn't put all of the details into my original post because the PM server was so slow this morning.

The timestamp on the file isn't considered -- instead I have a script that does an hourly check, comparing when the file's database record was created with the current time, and doing the appropriate aging by advancing a file to attention (after 2 days), stale (after 14 days) or deleted (after 28 days).

I may have to write a script that 'artificially' ages files by a certain amount to get the test to work -- perhaps by back-dating some of the database fields, then running the hourly check script.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re^3: Building a test environment
by perrin (Chancellor) on Jun 05, 2007 at 16:17 UTC
    Changing the dates in the database sounds like the best way to test it to me.