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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -