forked from github/server
redirect cron output to a logfile
This commit is contained in:
parent
1cfa28e4e9
commit
c3d08d1536
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
(
|
||||||
[ "$PREVIEW" != "yes" ] && exit
|
[ "$PREVIEW" != "yes" ] && exit
|
||||||
[ -z ${ERESSEA} ] && ERESSEA=$HOME/eressea
|
[ -z ${ERESSEA} ] && ERESSEA=$HOME/eressea
|
||||||
|
|
||||||
|
@ -13,3 +13,5 @@ for game in 2 3 4 ; do
|
||||||
${SRC}/s/preview -g ${game} run && \
|
${SRC}/s/preview -g ${game} run && \
|
||||||
${SRC}/s/preview -g ${game} send
|
${SRC}/s/preview -g ${game} send
|
||||||
done
|
done
|
||||||
|
) | tee -a $HOME/log/preview.cron.log
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue