summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/jogamp-log01.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/jogamp-log01.sh b/scripts/jogamp-log01.sh
index 918b3b9..f9013f5 100755
--- a/scripts/jogamp-log01.sh
+++ b/scripts/jogamp-log01.sh
@@ -1,3 +1,5 @@
-#! /bin/sh
+#! /bin/bash
-java -cp build/jabot.jar org.jogamp.jabot.irc.CatOut -login jogamp -name CatOut -server irc.freenode.net -channel "#jogamp"
+LOGFILE=irc_jogamp_`date -u +%Y%m%d%H%M`.txt
+
+java -cp build/jabot.jar org.jogamp.jabot.irc.CatOut -login jogamp -name CatOut -server irc.freenode.net -channel "#jogamp" >& $LOGFILE