*

MB Themes

Re: Renew feature
« Reply #30 on: May 25, 2021, 11:36:21 AM »
@dsf
Found this code in cron, not sure if it is ok to be in hourly cron
Code: [Select]
    if(is_numeric(osc_warn_expiration()) && osc_warn_expiration()>0) {
      $items = Item::newInstance()->findByHourExpiration(24*osc_warn_expiration());
      foreach($items as $item) {
        osc_run_hook('hook_email_warn_expiration', $item);
      }
    }
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

dsf

  • *****
  • 261 posts
Re: Renew feature
« Reply #31 on: May 25, 2021, 11:45:46 AM »
You mean the Hourly calculations can sometimes be off? Is that what you mean? It should be Daily?
« Last Edit: May 25, 2021, 11:52:48 AM by dsf »

*

MB Themes

Re: Renew feature
« Reply #32 on: May 26, 2021, 02:42:44 PM »
@dsf
I never studied this part of code and how it works, maybe will look on it in 4.5
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

dsf

  • *****
  • 261 posts
Re: Renew feature
« Reply #33 on: June 01, 2021, 07:03:32 PM »
Does anybody know if the Admin account gets an email when an ad is Renewed?