hilfe mein git ist komisch
This commit is contained in:
14
etc/cron.daily/drweb-update
Executable file
14
etc/cron.daily/drweb-update
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
update_scr="/opt/drweb/update.pl"
|
||||
|
||||
outfile=`mktemp /tmp/drweb-update.XXXXXX`
|
||||
[ -x "${update_scr}" ] || exit 0
|
||||
|
||||
trap 'rm -f $outfile;' TERM INT EXIT
|
||||
|
||||
"${update_scr}" >$outfile 2>&1
|
||||
rc=$?
|
||||
|
||||
[ $rc -eq 0 ] || cat $outfile
|
||||
exit $rc
|
||||
Reference in New Issue
Block a user