Page 1 of 1

Launch a "script" every X hours

Posted: Mon Apr 28, 2008 4:11 am
by novito
Hi everyone,

I have implemented an application that takes information and news from different RSS and add data into a database.

I have a .php file which is responsible to parse data from differents RSS into database, but I have to launch this script every X hours.

I have been reading about cronjobs and stuff but I'm not really sure if is a good option to do it.

Just wanna know opinions because I'm quite new in PHP.


Thank you all.

Re: Launch a "script" every X hours

Posted: Mon Apr 28, 2008 4:49 am
by timvw
Launching something periodically is exactly what cron(tab) was built for, thus imho it's the way to go.