summaryrefslogtreecommitdiffstats
path: root/admin/Interface/EjecutarScript
blob: 101bd15f45e011f25938683108a0a8481c2e183b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo -e >>  $OGLOGFILE
echo "Contenido de la ejecucion: *****************************" >>  $OGLOGFILE
cat  $1 >> $OGLOGFILE
echo -e >>  $OGLOGFILE
echo -e >>  $OGLOGFILE
echo "Salida: *****************************" >>  $OGLOGFILE
chmod +x $1
$1 &>> $OGLOGFILE || exit $?