how to make function run every 30 min ???!!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
minos_mks
Forum Commoner
Posts: 69
Joined: Thu Feb 04, 2010 1:58 am

how to make function run every 30 min ???!!!

Post by minos_mks »

if i have some functions i need to run them every 30 min or every 1 hr how i can do it ???? thnx for your time
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: how to make function run every 30 min ???!!!

Post by Eran »

You can use cron jobs on a linux server or event scheduler on a windows server. Set up a repeating task that runs the functions you need
minos_mks
Forum Commoner
Posts: 69
Joined: Thu Feb 04, 2010 1:58 am

Re: how to make function run every 30 min ???!!!

Post by minos_mks »

do you mean theat event scheduler is an function in php ????!!! , thanx for your help
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: how to make function run every 30 min ???!!!

Post by Eran »

no. please look up some information on those services on google
Post Reply