I 've been looking for that same solution for a while. So far, i couldn'find anything in the PHP Doc regarding task scheduling. IMHPOV the problem is, a script to schedule any task must run continiously... our PHP scripts don't.
A solution (at least for a windows user) may be the use of a COM componant on the server machine. The PHP script will use a COM Object provided by that component to set the time on which the task is to be accomplished and privide the script to run. The COM componant (wich is run continiously) can then, at the fixed time, run the specified script.
Just an idea, hope it can lead us to a better solution
🆒