Todo cron: fix timezone (Europe/Paris) — container runs UTC, tasks stored in local time
Deploy HouseHub / deploy (push) Successful in 2s
Deploy HouseHub / deploy (push) Successful in 2s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
401e98e9ee
commit
cfc115665b
@@ -6,6 +6,8 @@
|
|||||||
* Usage: php /opt/container/househub/cron/todo_notify.php
|
* Usage: php /opt/container/househub/cron/todo_notify.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
date_default_timezone_set('Europe/Paris');
|
||||||
|
|
||||||
$DB_HOST = getenv('DB_HOST') ?: 'househub-db';
|
$DB_HOST = getenv('DB_HOST') ?: 'househub-db';
|
||||||
$DB_USER = getenv('DB_USER') ?: 'househub';
|
$DB_USER = getenv('DB_USER') ?: 'househub';
|
||||||
$DB_PASS = getenv('DB_PASS') ?: 'changeme';
|
$DB_PASS = getenv('DB_PASS') ?: 'changeme';
|
||||||
|
|||||||
Reference in New Issue
Block a user