Good afternoon guys,
I have a classified portal and I'm putting VIP accounts in it, these accounts will have the possibility to make an amount of vip postings by the contracted plan. I already know how to prevent her from continuing to enjoy VIP benefits after the due date but I have not figured out a simple way to reset the ads that were vip so far. I save the user's vip expiration date in this way in the database table 2016-12-02 in string. NOTE * I save the expiration date in the user table and in the table I will postmark whether the ad is vip or not.
Would anyone know how to make a cronjob that works with this date and remove the vip field from the posts?
Thank you