toby dickenson ihuljjlsfmgeminidataloggerscom iybzpoboxcom wrote dave somebody already written file lock library dave encapsulates maybe use doesnt dave exist exist several flavors query pythondev indicates sounds like good addition python im sure solution case cron job probably tte using different database filename atomically swap new database place old ensures dont leave partial database place machine crashesis shutdownprocess killed tte run also allows procmail run old database concurrently training run guess lock file would prevent confused ive reread davids original post say problem caches rather database caches toby dickenson happy procmail user _______________________________________________ spambayesdev mailing list bsfegmjrrhnqpythonorg httpmailpythonorgmailmanlistinfospambayesdev wed 06 aug 2008 030651 0100 spambayesdev unsafe pickle saving