head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2001.05.23.18.56.15; author linus; state Exp; branches; next ; desc @init @ 1.1 log @Initial revision @ text @import java.io.IOException; import java.util.Timer; import java.util.TimerTask; import em; import msglog; /** * Linus Sphinx's pickle barrel network monitor */ public class emonster { Timer timer; public emonster() { timer = new Timer(); timer.schedule( new em(), 0, 300000 ); // sec x 1000 } public static void main( String args[] ) throws IOException { msglog mlog = new msglog(); mlog.setDefaultLogFile( "/opt/emsweb/emonster/log/em.log" ); mlog.write( "EMONSTER firing up..."); new emonster(); // I've created an E*Monster!!! mlog.write( "Initialization complete."); } } @