chiprivers Posted May 18, 2007 Share Posted May 18, 2007 I am writing a script that will automatically place bets for me on the Betfair website using their free API service. This uses a combination of SOAP and XML to place bets on various markets. I have got to grips with the API serice and I can write the script that will place a bet, what I need to do is get the script to run at the right time. What I would like to do is have a database that holds the details of the races that I would like to bet on. Then 10 minutes before the due time of each selection, my script will run and process the information for placing the bet. How do I do this bit? How do I get the script to run at the times required, this will be different each day! Quote Link to comment https://forums.phpfreaks.com/topic/52046-how-do-i-do-this/ Share on other sites More sharing options...
Caesar Posted May 18, 2007 Share Posted May 18, 2007 Cron job. Quote Link to comment https://forums.phpfreaks.com/topic/52046-how-do-i-do-this/#findComment-256566 Share on other sites More sharing options...
chiprivers Posted May 18, 2007 Author Share Posted May 18, 2007 I havnt used this before but googling it tells me that that is not an option on Windows?! Quote Link to comment https://forums.phpfreaks.com/topic/52046-how-do-i-do-this/#findComment-256572 Share on other sites More sharing options...
per1os Posted May 18, 2007 Share Posted May 18, 2007 Windows Task Scheduler is similiar, google that with php and see if anything comes up. Quote Link to comment https://forums.phpfreaks.com/topic/52046-how-do-i-do-this/#findComment-256581 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.