*

ahmose

  • **
  • 13 posts
minutely cron
« on: November 03, 2023, 07:24:33 AM »
how can i added minutely cron to run the importer for ex. every 20 minutes ?
its more effective to run it with few ads many times than running it one time every hour with 100 ad

*

MB Themes

Re: minutely cron
« Reply #1 on: November 04, 2023, 10:35:24 AM »
Run minutely cron once per 30 minutes and change processing function to minutely cron.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ahmose

  • **
  • 13 posts
Re: minutely cron
« Reply #2 on: November 06, 2023, 10:45:56 PM »
i added to importer/index.php

function imp_run_cron_minutely() { return imp_run_cron('minutely'); }
osc_add_hook('cron_minutely', 'imp_run_cron_minutely');

and changed the oc_t_imp_import.s_cron to minutely

am i missing anything ?

*

MB Themes

Re: minutely cron
« Reply #3 on: November 07, 2023, 05:51:22 PM »
Looks correct ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots