title: Scheduling php scripts
body: <p>I want to create some function to schedule php scripts,for example if i want tu run page.php at 12/12/2012 12:12 i can call</p>
  
  <pre><code>schedule_script('12/12/2012 12:12','page.php');//or by passing a time/datetime object
  </code></pre>
  
  <p>or for example call one script every minute</p>
  
  <pre><code>schedule_interval(60,'page.php');//every 60s=1minute
  </code></pre>
  
  <p>i'll may add some other function to see what script are scheduled or delete one of them.</p>
  
  <p>i want this functions to work on both UNIX and WINDOWS platforms,i DO NOT want ugly solutions like executing a script on every page of the site(i want to schedule this commands when nobody is on the site) or using "buisy wait" implementations ( using sleep() on a script that checks if there are any scheduled jobs) or something that require user intervention(like write something in console or open a panel).</p>
  
  <p>I found the "AT" command on MSDOS(works well on all windows)but it's very basic because it accept only time and not dates,there's a more powerful version on UNIX but i don't know how to use it(and i want a solution for both platforms).</p>