[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] gpxlogger daemon mode is not working?
From: |
Free.man |
Subject: |
Re: [gpsd-users] gpxlogger daemon mode is not working? |
Date: |
Fri, 5 Feb 2016 20:41:06 +0100 |
Hi thanks a lot.
In that case I cant start it as daemon.
For documentation:
while true; do
gpxlogger -i 30 -m 5 -f /home/pi/trip_log_$(date
+"%Y-%m-%d_%H%M%S").gpx /dev/ttyAMA0
done
BR
------
You need to restart the logger when it quits:
while true; do
gpxlogger -d -i 30 -m 5 -f /home/pi/trip_log_$(date
+"%Y-%m-%d_%H%M%S").gpx /dev/ttyAMA0
done
This way, the loop repeats until the shutdown command kills all processes.
Regards,
Beat
--
https://drbeat.li
pgp: 0x506A903A; 49D5 794A EA77 F907 764F D89E 304B 93CF 506A 903A
gsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa
icbm: 47.0452 N, 7.2715 E
"It takes love over gold, and mind over matter" -- Dire Straits