Hy , i`m new on the forum , so Hello to all ,

I want to make a "mini robot" that autocalls it self every night at 12 o`clock , and calls a php function that deletes some records form database on some criteria.My problem is not what the php is doing , but :

How could i make it work even if there is no body on the site at that hour or nobody enters the site that day?

Thanks

You are talking about cron job (linux) and schedule job (windows).
You create your php page to do so,
google for cron job settings.

you can schedule that php script to run whenever and however you want you want.

I googled it and found about cron jobs

Thanks :D