Hi,
I have a VPN tunnel. It is going down occasionally. I need to run "/usr/sbin/ping 172.xx.xx.xx.xx" and it give mes output "172.xx.xx.xx is alive" and immediately after that VPN tunnel comes up.
Till we find permanent solution, I want this command to run in background, like every one hour. Should I simply have below entry in cronjob ?
Can't tell why it behaves as described. Is the path correct?
If I reproduce your setup, cron creates an (endlessly) ping ing process every minute. You might want to limit the ping count so it stops after a few pings. /tmp/ping_test is cat able all the time. That error message I can't reproduce; all I get is cat: /tmp/pt: No such file or directory in case.