# $Id: checkpoint.bro,v 1.1 2003/08/31 00:40:21 vern Exp $
#
# Checkpoints Bro's persistent state at regular intervals.
#

global checkpoint_interval = 15 min &redef;

event checkpoint()
	{
	checkpoint_state();
	schedule checkpoint_interval { checkpoint() };
	}

event bro_init()
	{
	schedule checkpoint_interval { checkpoint() };
	}
