Thread: auction renewal
View Single Post
Old August 1st, 2012, 10:06 AM   #10 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
We do not double the duration ever. The duration is 5 days and you can even verify by going into the products tabler for the auction and check the duration. Let me go through this one more time.

If you post an auction for 5 days and no action that triggers it to end is received then the cron script will change the enddate and add 5 more days to the end that is it.

Code:
Content visible to verified customers only.
You can clearly see all we do is add the number of days the duration is to the current time.

So what I am saying is if your auction expires and the cron runs we add 5 more days to it in your case. if nothing is received in that 5 days and the cron runs again then it will be set to expire 5 days from then.

I have tested what I have said and verified the code. I would need more specific information to your specific auction and what is in the database to respond.

we do not count down from 10 or 15 days or whatever. The way an auction is renewed is we check for auctions that are expired meaning the enddate is less then the current time when the cron is ran and if it has expired and has no bids etc then it will be renewed for another 5 days. Follow what I am saying here. We never change the ads duration nor can it never be edited. The auction will renew for another duration. That is why I asked what the duration is in the database for the ad.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote