Delete Expired Bid

Hi

Delete Expired Bids is not working .

Config::Set('CLOSE_BIDS_AFTER_EXPIRE', true);
Config::Set('BID_EXPIRE_TIME', '5');

“Not working” is a bit vague

“Not working” is a bit vague

Sorry Nabeel

Delete Expired Bid function doesn’t delete bid after Expire ,so bid still exist in bids table .

Are you running a cron?

I’m experiencing the same problem and I’m running a cron.

After a long time reading a lot of topics herein, finally I found something that lead me to the right path and now I share here.

If you run a cron, go to admin/maintainance.php and if you keep it as original, jump to line 44 and swap it to “true”, as below:

if(Config::Get('CLOSE_BIDS_AFTER_EXPIRE') === true)

After I did it, I changed my cron to run every minute, just to have some tests, and now expired bids are being deleted automatically.

On 25/10/2012 at 8:56 PM, Felipe said:

After a long time reading a lot of topics herein, finally I found something that lead me to the right path and now I share here.

If you run a cron, go to admin/maintainance.php and if you keep it as original, jump to line 44 and swap it to “true”, as below:

 

if(Config::Get(‘CLOSE_BIDS_AFTER_EXPIRE’) === true)

 

 

After I did it, I changed my cron to run every minute, just to have some tests, and now expired bids are being deleted automatically.

What do you mean with “run a cron”?

Run a cron job on server

3 hours ago, Felipe said:

Run a cron job on server

and how can i do it? because delete expired bids doesn’t work =(

On 7/9/2010 at 0:44 PM, Nabeel said:

“Not working” is a bit vague

Which command I need to run on cronnjob to get works “delete expired bids”

8 hours ago, joooseb said:

Which command I need to run on cronnjob to get works “delete expired bids”

You need to run the cron job under the maintenance portion of the phpvms admin panel. Contact your host if you need help setting up a cron job, however it is very simple especially if you are using cPanel.

1 hour ago, t_bergman said:

You need to run the cron job under the maintenance portion of the phpvms admin panel. Contact your host if you need help setting up a cron job, however it is very simple especially if you are using cPanel.

I know how to run a cron job is very easier with cPanel, but the cron job request me a command and I don’t know Which is the comand to delete expired bids