Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 09:27:44 +1000
From:      Gautam Gopalakrishnan <thatha@gmail.com>
To:        Taulant Galimuna <taulant@ipko.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cron.daily and cron.hourly
Message-ID:  <a3ada2d104070516277f79adef@mail.gmail.com>
In-Reply-To: <060b01c4629e$b60e45c0$0302a8c0@webmaster2>
References:  <20040704071004.E11E8AE097@nezlok.unixathome.org> <060b01c4629e$b60e45c0$0302a8c0@webmaster2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Jul 2004 16:45:27 +0200, Taulant Galimuna <taulant@ipko.net> wrote:
> Hi,
> 
> I had a problem with my web-server that I already solved. But now I have to
> execute a PHP file on my FreeBSD server every hour, to get the needed
> updates from database.
> 
> I know I need a shell script to execute that file and have to put this
> script to some directory that would execute it every hour.
> 
> In linux it is appeared to be at /etc/cron.hourly

Run:
# crontab -e

Add:
0 * * * * /path/to/your/script

The manpage should give more details...

Gautam



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