summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-01-17 03:44:19 +0100
committerSven Gothel <[email protected]>2013-01-17 03:44:19 +0100
commit062e4622e9ccc4477ed2c9e6510f15d3d059abaa (patch)
treebd03251a0733c8d6d05f01ea2cf14df931d795e8 /scripts
parent4529bf562834b6929faa41813988934e7b8854f9 (diff)
log script to dated file
Diffstat (limited to 'scripts')
-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