Re: Cron
theo.wribe@telia.com (Theo Wribe) writes:
> How do I create a crontab that run's #ping IP every 10 seconds?
>
> Tried crontab -e
>
> 0,10,20,30,40,50 * * * * /bin/ping -s 8 -c 1 www.sunet.se 1>
> /dev/null 2> /dev/null
>
> But it doesn't seem to work.
You are sending a ping every 10 minutes. But why use cron at all?
Add " -i 10 " to your ping command, and remove the " -c 1 ".
Paul
--
* For God so loved the world that He gave his only begotten Son, *
* that whoever believes in Him should not perish... John 3:16 *
Reply to:
- References:
- Cron
- From: "Theo Wribe" <theo.wribe@telia.com>