Without knowing your requirements in detail, here is how I solved that problem in the past.
First: Running scripts is heavy on the server. If you do that every second for each client and you have many clients, you will need a big datacentre. ;-)
Use a plaintext file instead.
Let's say something like "auction2343.txt" where 2343 is some auctionid that makes sense to you.
The server doesn't need to invoke (expensive) processes to return the contents of that file.
And on the serverside, make some cronjob that runs every second to update the file when needed.
Or alternatively, only update it when somebody makes a bid.
Figure out what works in your situation.
In the file put something that Javascript can use to decide what to do, eg the last bid.
If Javascript finds the bid higher than the last value it had, you can do additional stuff, like starting up a real (expensive) script on the server, or simply show the client, or whatever it is you need.
Make sure that if you use HXR ("ajax") you add some timestamp to the URL for the textfile ("auction2343.txt"), so your clients don't fetch a cached version.
for example:
http://www.example.com/auction2343.txt?timestamp=[millis here]