Jump to content

Auto Remove Flight Bids Every 24 Hours [SOLVED]


Recommended Posts

Posted

Hello,

I am wondering if there is a cron job I can setup to remove bids every 24 hours or a separate script?

I have searched the forum and found nothing so I presume it's never been wanted before,

Help Appreciated

Jon

Posted

Hi joeri,

I've looked all around there but can't find anything. I wonder if could use the admin panel Remove bid function to help me do it?

Jon

  • Moderators
Posted

you gota look better just looked for 1 min in the app config

B)

just enter this in your local config

# Whether to close any bids after a certain amount of time

Config::Set('CLOSE_BIDS_AFTER_EXPIRE', false);

Config::Set('BID_EXPIRE_TIME', '48'); # How many hours to hold bids for

set it to true and edite the time

gr joeri

  • 1 month later...
Posted

I thought it was only me. Mine is not deleting bids after 48 hours neither. I'll go back to my site in a minute and post my VMS version so we can compare results.

  • 3 years later...
Posted

The dateadded column in the phpvms_bids table is just a date type and not datetime. It therefore doesnt store the time when the bid was made but only the date.

Thats probably a bug.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...