Skip to content

Commit

Permalink
[fix] cron rolling curl call INSIDE the loop :/
Browse files Browse the repository at this point in the history
  • Loading branch information
vincib committed Feb 28, 2018
1 parent 24b37b2 commit f392ad1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bureau/class/m_cron.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -240,10 +240,9 @@ function execute_cron() {
if (empty($urllist)) { // nothing to do : if (empty($urllist)) { // nothing to do :
exit(0); exit(0);
} }

// cron_callback($url, $content, $curlobj) will be called at the end of each http call.
$this->rolling_curl($urllist, array("m_cron", "cron_callback"));
} }
// cron_callback($url, $content, $curlobj) will be called at the end of each http call.
$this->rolling_curl($urllist, array("m_cron", "cron_callback"));
} }




Expand Down

0 comments on commit f392ad1

Please sign in to comment.