Page 1 of 1

updating DB Row every minute?

Posted: Fri Apr 08, 2005 11:19 am
by DNice
i need a php code that automaticly updates a row in my database every minute, i've tried almost everything in my books but they dont work. Please help a noob out.

Posted: Fri Apr 08, 2005 11:26 am
by timvw
just go to your favorite searchengine and type: "php run script every minute"
or search in this forum "run script every minute"



done.

Posted: Fri Apr 08, 2005 11:36 am
by JAM
timvw wrote:just go to your favorite searchengine and type: "php run script every minute"
or search in this forum "run script every minute"
Or the more technical term, "cron job" (Info).

121 matches on this page searching for this. Most Linux admins know about this, but I belive there are Win32 ports for cron aswell. Mentioning it as you didn't mention if the server you are using is *nix || Win32.

Posted: Fri Apr 08, 2005 10:31 pm
by DNice
ok all i found is crontab things, and i tried that but they arnt working, is there anyway to do this with the date function?

Posted: Sat Apr 09, 2005 2:52 am
by timvw
JAM wrote: Or the more technical term, "cron job" (Info).
I'm aware of cron(tab) but i don't expect someone new to know what term. (because in that case he wouldn't have a problem :o)

That is why i choose words of the OP himself to see if he would find the relevant info with a simple search.