diff options
author | Sven Gothel <[email protected]> | 2013-01-17 03:44:19 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-17 03:44:19 +0100 |
commit | 062e4622e9ccc4477ed2c9e6510f15d3d059abaa (patch) | |
tree | bd03251a0733c8d6d05f01ea2cf14df931d795e8 | |
parent | 4529bf562834b6929faa41813988934e7b8854f9 (diff) |
log script to dated file
-rwxr-xr-x | scripts/jogamp-log01.sh | 6 |
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 |