Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Pinging 5 hosts once every hour

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 02-16-2017   -   Original Discussion by Katkota
Katkota's Unix or Linux Image
Katkota Katkota is offline
Registered User
Join Date: Oct 2007
Last Activity: 9 October 2017, 7:15 PM EDT
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Pinging 5 hosts once every hour

Hello folks;
I'm trying to write a shell script to ping 5 hosts i have once every 1 hour and if it receives any failure from any of those hosts, it sends an email alert with the results from this failing ping.

Any help would be greatly appreciated
Sponsored Links
Old Unix and Linux 02-17-2017   -   Original Discussion by Katkota
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Join Date: Sep 2005
Last Activity: 23 January 2018, 9:41 AM EST
Location: Switzerland - GE
Posts: 6,513
Thanks: 299
Thanked 556 Times in 518 Posts
I'm trying to write a shell script to ...
Yes, well what have you done so far, what isnt working for you?
May we look at or script and your the output you get (error...)?
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to convert 24 hour time to 12 hour timing? nex_asp Shell Programming and Scripting 13 01-30-2013 05:24 AM
aix tcp wrappers hosts.allow hosts.deny? wf201626 AIX 0 08-15-2012 04:43 PM
pinging an ip ammu Shell Programming and Scripting 1 07-19-2007 03:58 PM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 10:25 PM
pinging IP's in a file jalge2 AIX 2 06-21-2005 04:47 PM

All times are GMT -4. The time now is 04:07 PM.