1

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?

3
  • 3
    try using a cron command and some websokets to get the start of the event on the page Commented Jul 7, 2016 at 6:57
  • 1
    I agree a cron-job should be the best solution. But, what exactly do you require to do to start the bid Commented Jul 7, 2016 at 7:02
  • a php file that saves the date for the bid start Commented Jul 7, 2016 at 7:07

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Note that Cron is only on Linux servers - on Windows server you must use any alternative...
Some hosts provide ' schedule tasks' functionality for windows server that is similar to cron job scheduling on Linux. e.g GoDaddy Plesk shared hosting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.