Files
scripts/Perl control mFi/marker.sh
2024-10-14 00:08:40 +02:00

20 lines
291 B
Bash

#!/bin/bash
if [ "$2" == "" ]
then
echo "
./marker.sh <0|1> <marker=txt>
"
exit 0
fi
echo "
update cron set active=$1 where $2;
" | mysql -u1_mfi -pK01v1kk0! -D 1_mfi -h panel.agserver.de
echo "
select * from cron where $2;
" | mysql -u1_mfi -pK01v1kk0! -D 1_mfi -h panel.agserver.de