cron.daily and cron.hourly

Gautam Gopalakrishnan thatha at gmail.com
Mon Jul 5 16:27:52 PDT 2004


On Mon, 5 Jul 2004 16:45:27 +0200, Taulant Galimuna <taulant at 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


More information about the freebsd-questions mailing list