Username : Date : Action : Comments [ close all ] |
|
|
|
jvanlo : 20/11/02 01:41 PM : Incident created |
- Is anyone familiar with communication program called minicom?
I am trying to run minicom in cron. Here's the scenario:
I am connecting through ttyS0 to a PBX that is firing off CDR (call detail records)info - ie: who called, at what time etc.
If I login live and enter the following: minicom -C /home/admin/logs/Nov20.log
it will output the records to the capture file - no issue.
Using cron to start minicom produces the following error:
No cursor motion capability (cm)
I have a limited idea as to what this is.
I would like to automate the collection of CDR's and I feel cron is the best way of doing it. Any ideas?
|
|
|
|
jvanlo : 20/11/02 02:41 PM : More info provided |
- Would an application like mgetty do the trick? That is - I could run it under cron and capture data to a file?
|
|
|
|
jvanlo : 20/11/02 02:41 PM : More info provided |
- Would an application like mgetty do the trick? That is - I could run it under cron and capture data to a file?
|
|
|
|
Linegod_7611 : 20/11/02 10:30 PM : Reply received |
- Minicom is designed as an interactive program, so it would not be good for
unattended scripts. You might have better luck with the 'cu' command
(install the 'uucp' RPM). Just do a 'man cu' once you have it installed for
further info.
You might want to look at http://www.azstarnet.com/~ymg/software.html also...
------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
jvanlo : 21/11/02 05:28 PM : More info provided |
- cu works like a charm!
Many thanks!
|
|
|
|
jvanlo : 21/11/02 05:28 PM : Incident closed |
-
|
|
|