[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Executing a Script every hour



On Tue, 30 Sep 2003, Christof Hurschler wrote:

> Hi,
>
> I've scanned the cron man pages, but it seems that cron is only set up to do
> daily, weekly, and monthly jobs in Debian.
>
> Is there a simpe way to have a script execute at shorter time intervals. I'd
> like to run the swendeleter.pl script automatically every so often to keep my
> mailbox from overfiling.

Hi,
Pretty easy to do. Become to use you want the script to run as (root or
yourself)

crontab -e

then add the line

0	*	*	*	* /path/to/swendeleter.pl

That should do it

rgds

rus
-- 
w: http://www.jvps.com  | Linux + FreeBSD Servers from $15/mo
e: rghf@jvds.com        | Dedicated Servers from $119/mo
t: +44 7919 373537	| email: support@jvds.com
t: 1-888-327-6330 	| email: sales@jvds.com




Reply to: