• Resolved entyone

    (@entyone)


    Hi,
    Is it possible to send a message to the user one day before the ad expires?
    I know that wpadvert does not send @. I just need information – how to perform function one day before expiration.
    In sql I found the _expiration_date line with the example value: 1490865420 but I do not know what it is 🙂

    • This topic was modified 9 years, 2 months ago by entyone.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter entyone

    (@entyone)

    I solved the problem.
    The _expiration_date value is a timestamp. In the cron I placed a function to send an email.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, ok great, if you could share your function then maybe someone will find it useful in the future, if not then that is fine as well :).

    @entyone Your cron function is activated by/in the WordPress? I am not sure, but I suppose that there is a risk that the author of expiring ad will be not notified in a resonable time if your site doesn’t have visitors every day. Again, I suppose that cron jobs are checked by the WordPress only when your site have a visitor.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Send email before the expiry date’ is closed to new replies.