Start or Stop Astroport.ONE Station
This commit is contained in:
parent
4334cba015
commit
be6042686a
4
start.sh
4
start.sh
@ -14,6 +14,10 @@ ME="${0##*/}"
|
||||
TS=$(date -u +%s%N | cut -b1-13)
|
||||
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
|
||||
|
||||
echo "cron_VRFY.sh ON"
|
||||
###################################################
|
||||
${MY_PATH}/tools/cron_VRFY.sh ON
|
||||
|
||||
echo "(RE)STARTING 12345.sh"
|
||||
###################################################
|
||||
killall 12345.sh; killall "_12345.sh"; killall nc
|
||||
|
25
stop.sh
Executable file
25
stop.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
# Author: Fred (support@qo-op.com)
|
||||
# Version: 0.1
|
||||
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
||||
################################################################################
|
||||
MY_PATH="`dirname \"$0\"`"
|
||||
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||
ME="${0##*/}"
|
||||
|
||||
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
|
||||
|
||||
echo "ASTROPORT.ONE $USER@$HOSTNAME
|
||||
@@@@@@@@@@@@@@@@@@
|
||||
STOP AT $MOATS
|
||||
@@@@@@@@@@@@@@@@@@"
|
||||
echo
|
||||
|
||||
echo "STOPPING PROCESS & CRON"
|
||||
###################################################
|
||||
killall 12345.sh; killall "_12345.sh"; killall nc
|
||||
###################################################
|
||||
${MY_PATH}/tools/cron_VRFY.sh OFF
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user