Przy wywołaniu zadań CRON w Codeigniter 3.0+ pojawia się poniższy błąd:
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
Powodem jest brak ustawionej w skrypcie strefy czasowej.
Wystarczy dodać do pliku:
config.php
linię
date_default_timezone_set('Europe/Warsaw');