Hello,
I have made a bash script to get ipstats of several devices, and i have a problem with my X450a-48t, the script works fine if i execute it manually, but in crontab no output, i think because in cron no tty is allocated.
Example script:
#!/bin/bash
ssh -o "StrictHostKeyChecking no" admin@10.26.196.189 "show ipstats"
i have checked ssh with -t and -tt option, but doesn't work.
¿Any idea how to solve it? ¿another possibility to get this stats remotely?
Regards,
Ivan