# cu как запустить из cron.\*

**URL:** <https://linux.ru/forum/t/cu-cron/2343>\
**Category:** Настройка клиентского &quot;софта&quot;\
**Created:** [26.Июль.2005 13:47:09 UTC](https://linux.ru/forum/t/cu-cron/2343 "2005-07-26T13:47:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergei\_Karankevich](https://linux.ru/forum/letter_avatar_proxy/v4/letter/s/b487fb/32.png) [@Sergei\_Karankevich](https://linux.ru/forum/u/Sergei_Karankevich)\
**Post date:** [26.Июль.2005 13:47:09 UTC](https://linux.ru/forum/t/cu-cron/2343/1 "2005-07-26T13:47:09Z")

</div>

Надо с СОМа в файл записывать все что приходит

вот если вручную то работает

| **Цитата:** |  
|

[root@Altlinux cron.hourly]# cu -l /dev/ttyS0 -s 19200 -d -e

cu: fconn\_open: Opening port /dev/ttyS0 (speed 19200)

cu: fconn\_set: Changing setting to 2, 2, 2

Connected.

!" #$%&'()\*+,-./01QRSTUVWXYZ[]^\_`abcdefghijklmnopqrstuvwxy z{|}

cu: Got termination signal

cu: Exit status 0

cu: fconn\_close: Closing connection

|

а если автоматически из cron.\* то вот нифига

| **Цитата:** |  
|

cu: fconn\_open: Opening port /dev/ttyS0 (speed 19200)

cu: fconn\_set: Changing setting to 2, 2, 2

cu: End of file on terminal

cu: Signal 9

cu: child: Got signal 9

cu: fconn\_close: Closing connection

|

подскажите чайнику
