debian - Running linux serial script in background -
i'm running simple script connect serial port of electricity monitor , save output file:
cu -s 57600 -l /dev/ttyusb0 >> /var/www/power.txt
i'd ideally set off going in background , leave running, think might need daemon this? have experience using cu unattended?
thanks, laurence
i haven't used cu
before, in general can make command run in background putting &
after it.
e.g
cu -s 57600 -l /dev/ttyusb0 >> /var/www/power.txt &
Comments
Post a Comment