Welcome Guest, Not a member yet? Register   Sign In
How to execute a function automatically?

Hello everybody,

I want to call a php function automatically after 1 hour ... How do I do?

This function is a piece of a library, and I want to execute it automatically..

Please help me... Thanks!

Well, assuming you're on a *nix platform, use cron to schedule your job.

I see that there is instruction in the CI wiki for it (http://codeigniter.com/wiki/Category:Adv...ronScript/), but I've chosen to use this method: http://jonathonhill.net/codeigniter/cron/

- Phil

Theme © iAndrew 2016 - Forum software by © MyBB