Unitech / pm2

Node.js Production Process Manager with a built-in Load Balancer.
https://pm2.keymetrics.io/docs/usage/quick-start/
Other
41.6k stars 2.62k forks source link

Add app cron_timezone option to change the timezone used in cron_restart #5877

Open mgiova opened 3 months ago

mgiova commented 3 months ago
Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #5618
License MIT
Doc PR

Sometimes you need to restart a process on a time based on a different time-zone than the one used by the server and DST differences could cause problems. This PR adds an option to specify that time-zone that is passed as-is to the underlying Croner lib.

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

gkourpa commented 1 month ago

This is a very basic feature and should definitely be added.