mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-25 23:07:17 +00:00
imp_monitor.sh: add date to logging output
This commit is contained in:
parent
a123d9106b
commit
8586cd4df0
@ -88,9 +88,11 @@ daemon_loop() {
|
||||
echo "Starting daemon with PID $$"
|
||||
|
||||
while true; do
|
||||
echo $(date)
|
||||
echo "Checking values..."
|
||||
check
|
||||
if [ $? -eq 1 ]; then
|
||||
echo $(date)
|
||||
echo "Setting values..."
|
||||
set_values
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user