[Xastir] Saving serial snapshots
Carl Makin
carl at stagecraft.cx
Wed Apr 15 20:55:59 EDT 2009
On Wed, 15 Apr 2009, Curt, WE7U wrote:
> On Wed, 15 Apr 2009, James Ewen wrote:
>> It sounds like all Jim needs to do, is to have Xastir save a snapshot
>> every 5 minutes, and then have a cron job set up that copies the
>> latest image to a storage directory, renaming the file (possibly with
>> a timestamp) when it moves it.
Something like;
#!/bin/sh
RIGHTNOW=`date +%Y%M%d%H%M`
if [ -f 'snapshot.jpg' ]; then
mv snapshot.jpg archive/snapshot-$RIGHTNOW.jpg
fi
Carl.
(vk1kcm)
More information about the Xastir
mailing list