The problem that I am having is that the script (written in VBScript) is failing part way into the process about once every day or two, or about 1 out of 40 times. It seems to always fail after creating the temp directory, or after moving the IMail log into the temp directory, which happens to be the first two steps (the third is to move the Declude JunkMail log). The only thing that I can think of is that the script is unable to move these files because they are being locked by the system as they are being updated. Both the IMail and JunkMail logs are seeing between 3MB and 15MB of data per hour depending on the time of day and the log.
So if someone could confirm whether or not this could be some form of a locking issue that prevents a VBScript move (object.MoveFile), that would be appreciated. Also, if this is a locking issue, what would be the recommended work around for handling this? I'm not familiar with a method of retrying the move until successful within VBScript, though maybe there is a way to detect the error condition and loop until none is found, or a maximum number of tries has occurred.
Thanks,
Matt
-- ===================================================== MailPure custom filters for Declude JunkMail Pro. http://www.mailpure.com/software/ =====================================================
--- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]
--- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
