Task Scheduling Problem
Hi Guys,
I'm putting together a site in PHP, hosted on a linux server. It's just a little game I'm doing in my spare time but I've run into a problem I cant seem to find a solution to. What I'm trying to do is schedule a task on the server to run a script at a certain time, this I can do fine but I want to be able to specify a time including seconds so... run this script at 11:45:10 today.
I know I cant do this with "at" or "crontab" so my first thought was to schedule the task for the correct minute and pass the number of seconds to the script in the url so I could then delay the script running for the correct number of seconds but if I try to run something like...
at -v 11:45 04/08/08 -f '/var/www/blah/blah/scriptname.php?delay=10'
I get the error Cannot open input file: No such file or directory. Does anyone know of a way to acheive what I am trying to do?
Hope that makes sense, if I need to clarify anything please ask!
Thanks in advance,
Tom
|