Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 13:47:13 -0800 (PST)
From:      youshi10@u.washington.edu
To:        freebsd-questions@freebsd.org
Subject:   Running nmap on a 1 hour schedule [was Re: (no subject)]
Message-ID:  <Pine.LNX.4.43.0702011347130.23655@hymn05.u.washington.edu>
In-Reply-To: <8cb6106e0702011311w6e15e117w127b4e9576dbca02@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Feb 2007, Josh Carroll wrote:

>> In bash or csh I want to start nmap scanning at every 1 hour.how can I do 
>> this?
>>                                     thanks
>
> Use cron (man cron, man 5 crontab). Something like:
>
> 0 * * * * /usr/local/bin/nmap ....
>
> Would run it on the hour, each hour. Read the man pages for more details.
>
> Josh

Consult your favorite webpage to search out examples on how to use cron / specify entries in crontab (crontab syntax is the same, regardless of what cron's in use).

Also, please provide a subject line when asking a question next time.
-Garrett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0702011347130.23655>