Hello
Is it possible to time a script ?
I want my script to reset the MySQL DB once per day automatically..
/Stefan
That's a DB and server issue. You can trigger your server however (using cron or something) to run a PHP script that does the job.
Look at man crontab man crond
Or on Win32 check out the Nt scheduler.
Jack
Just in general:
You can NOT time a script since there is something like a maximum execution time directive. So fun stuff like while(0==0){.... code....}; isn´t working.
😉 FAB