I'm trying to make an online bidding website using PHP. I'm trying to start a bid on given time automatically. I can do this if the web page is opened using jquery and AJAX. But I want to do it automatically without through server. Is there any method for doing this?
1 Answer
You can create a php file to start a bid on given time and then execute/run it by adding it as a cron job through hosting panel.
2 Comments
Jaroslav Štreit
Note that Cron is only on Linux servers - on Windows server you must use any alternative...
Qammar Feroz
Some hosts provide ' schedule tasks' functionality for windows server that is similar to cron job scheduling on Linux. e.g GoDaddy Plesk shared hosting.
start the bid