scheduler: respect cloudron timezone setting

This commit is contained in:
Girish Ramakrishnan
2025-01-02 10:10:40 +01:00
parent 4ffe736d46
commit 9c7e9e25ca
4 changed files with 29 additions and 13 deletions

View File

@@ -202,6 +202,7 @@ async function handleTimeZoneChanged(tz) {
debug('handleTimeZoneChanged: recreating all jobs');
await stopJobs();
await scheduler.deleteJobs(); // have to re-create with new tz
await startJobs();
}