Search Results

Search: Posts Made By: elingtey
12,797
Posted By elingtey
Hi When I run debug mode i get below error: ...
Hi
When I run debug mode i get below error:

root@debian:~# expect -d copyfiles
expect version 5.45
argv[0] = expect argv[1] = -d argv[2] = copyfiles
set argc 0
set argv0 "copyfiles"...
2,766
Posted By elingtey
perhaps you can use expect script
perhaps you can use expect script
12,797
Posted By elingtey
scp not working in expect script
Hi All,
I run the scp command in shell prompt without issue, but when on expect script as below:
#!/usr/bin/expect
spawn scp /var/spool/sms/failed.tar.gz abc@10.10.12.2:/home/abc
expect...
8,353
Posted By elingtey
Expect script not working in crontab with minicom
Hi All,
I am testing expect script in command prompt without issue, but in crontab it is not working, i check the output error as below:

#cat /var/log/testexp.log
spawn minicom -C...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 06:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy