WebSphere Commerce EnterpriseWebSphere Commerce Professional

MonitorAuctions URL

Invoked by the WebSphere Commerce scheduler every minute to start and close auctions. It checks future auctions to determine if they should be started, checks current auctions to determine if it is time to close the bidding, and closes 'Bidding Closed' auctions. This URL is called by scheduler. No display page will return.

Invoked by the WebSphere Commerce scheduler every minute to start and close auctions. It checks future auctions to determine if they should be started, checks current auctions to determine if it is time to close the bidding, and closes 'Bidding Closed' auctions. This URL is called by scheduler. No display page will return.

URL structure

http:// host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path

Parameter Values

None

Example

This example invokes the auction monitor to maintain the auctions at the site.


http://myhostname/webapp/wcs/stores/servlet/MonitorAuction

Behavior

  • Checks for auctions in the AUCTION table that have the AUSTATUS column set to 'BC' (Bidding Closed), the LOCKFLAG column set to '1' (Locked), and whose closing time is less than or equal to the current time. Calls the CloseAuction command for each of these auctions.
  • Checks for auctions with a status of Future and a starting time less than or equal to the current time. Calls the StartAuction command to submit bids for autobids and notify bidders that the auction has started for each of these auctions. Changes the auction status to Current.
  • Checks for auctions with a status of Current and ending conditions 'true.' Changes the status to Bidding Closed.

Exception Conditions

None.