head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2001.05.23.18.56.23; 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 emon { Timer timer; public emon() { em myem = new em(); myem.run(); } 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..."); emon e = new emon(); // I've created an E*Monster!!! mlog.write( "Initialization complete."); } } @