sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #47674
Re: Hvordan får man linuxen til at pinge en adresse hvert eks. 2 minut?
On Mon, 11 Feb 2002, Frank Rachlitz wrote:
> Jeg har prøvet at lave en fil: /root/.crontab
> med linjen:
> */5 * * * * ping -c dr.dk
>
> og så kørt komandoen:
>
> crontab /root/.crontab
>
> og når jeg køre crontab -l
> er linjen også vist i filen. men jeg tror ikke at maskinen gør det...
Umiddelbart er syntaksen til ping ihvertfald forkert:
[madsdyd@ripley madsdyd]$ ping --help
ping: invalid option -- -
Usage: ping [-LRUbdfnqrvV] [-c count] [-i interval] [-w wait]
[-p pattern] [-s packetsize] [-t ttl] [-I interface address]
[ -T timestamp option ] [ -Q tos ] host
Mads
--
Mads Bondo Dydensborg. madsdyd@xxxxxxxxxxxx
Microsoft's stance in this brouhaha is, of course, hypocritical to the
point of being nauseating.
- Eric S. Raymond on MS's demand that AOL use open protocols for IM
References