mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge branch 'dev' into prevent_healthy_status_on_unhealthy
This commit is contained in:
@@ -89,7 +89,10 @@ class cron extends CI_Controller {
|
||||
echo "CRON: " . $cron->id . " -> is due: " . $isdue_result . "\n";
|
||||
echo "CRON: " . $cron->id . " -> RUNNING...\n";
|
||||
|
||||
$url = base_url() . $cron->function;
|
||||
$url = local_url() . $cron->function;
|
||||
if (ENVIRONMENT == "development") {
|
||||
echo "CRON: " . $cron->id . " -> URL: " . $url . "\n";
|
||||
}
|
||||
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
|
||||
Reference in New Issue
Block a user