Expiry Email – What triggers This To Get Sent?

This topic contains 9 replies, has 3 voices, and was last updated by  adriangraham 10 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #21269

    adriangraham
    Expired Member
    Post count: 426

    Hi Guys,

    I am trying to test the “Your listing will expire in X days” email functionality but can’t seem to get it to trigger. What event picks these up and causes the email to get sent?

    Thanks,

    Adrian

    #21323

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    
    
    geodir_expire_check();
    

    *for testing only

    it’s in payment manager if you want to look at it.

    Thx

    #21327

    adriangraham
    Expired Member
    Post count: 426

    Thanks a mil. How often does that function run? Like, every mid night does it send the emails?

    Thanks,

    Adrian

    #21329

    Paolo
    Site Admin
    Post count: 31211

    That function is for testing only and once activated it is called on every page load as far as I know.

    The cron should run twice a day.

    Thx

    #21331

    adriangraham
    Expired Member
    Post count: 426

    Cool… so it’s a Chron Job… where can I see this setup… I am in my web hosting Control Panel and under Chron Jobs and no jobs exist,

    Thanks a mil,

    A

    #21333

    Paolo
    Site Admin
    Post count: 31211

    it is a wp-cron, not a server cron.

    I have no idea where it is to be honest.

    Thx

    #21335

    adriangraham
    Expired Member
    Post count: 426

    Cool…. Stiofan, do you?

    Cheers!

    A

    #21463

    adriangraham
    Expired Member
    Post count: 426

    Also… I am testing a listing that’s expiring soon…. and I got an email last night about it expiring and also tonight… does this “Expiring Soon” email get sent every night for the remaining period?

    #21532

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The cron should fire twice daily. The script in in payment manager around line 3116 of geo_paymant_functions.php

    Stiofan

    #21562

    adriangraham
    Expired Member
    Post count: 426

    Great, thanks a mil,

    Adrian

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount