73 Commits

Author SHA1 Message Date
Unitech
fbef812118 disable git parsing by default #5909 #2182 #5801 #5051 #5696 2024-11-13 13:55:56 +01:00
Aryeh Berman
3402a0ddab feat: add support for disabling version checks
This adds support for a `PM2_DISABLE_VERSION_CHECKS` env variable,
which will disabling running version checks for PM2.
2024-07-07 14:36:36 -04:00
Unitech
af3a1f77cb use croner instead of node-schedule 2022-02-09 10:19:31 +01:00
Unitech
2673a97400 fix cron check 2022-02-08 10:14:16 +01:00
Unitech
540caabe8a Merge branch 'development' of https://github.com/mararrdeveloper/pm2 into mararrdeveloper-development 2022-02-08 10:01:17 +01:00
Dimitar Drenkovski
4c9cb4d743 Update copywrite year (2021 -> 2022) 2022-01-19 11:41:33 +01:00
Marco Arrigo
62afc6c6b9 Replaced cron with node-schedule 2021-09-24 22:57:02 +02:00
Unitech
120e31acbc cron restarts improvements 2021-09-24 12:40:46 +02:00
Unitech
cc9714ca83 bump copyright years 2021-01-28 11:05:59 +01:00
Unitech
2f61ddbf42 fix: cron-restart in cluster mode + alias --cron to --cron-restart fix #4834 #4733 #4307 #4834 2020-12-09 11:55:41 +01:00
Adam Malone
1ec91ccbd6
Small grammar fix and addition of units to output. 2020-08-11 20:59:11 +10:00
Unitech
e0fd5188b3 chore: version check 2019-12-10 16:42:31 +01:00
Unitech
86cd4b2939 fix: right cron prefix + re activate cron on restart 2019-11-18 15:36:26 +01:00
Unitech
3976f15b3f fix: cron refactor 2019-11-14 23:37:35 +01:00
soyuka
92112f9ab7 Use a Map instead of an object to keep cron jobs in memory 2018-10-09 11:04:30 +02:00
soyuka
74652b5c25 fix #2487 put cron in the worker 2018-10-06 10:54:07 +02:00
Unitech
f660bf6ad3 #3928 reset restart delay once application is in stable mode 2018-10-03 11:17:53 +02:00
Unitech
39917f976f #3932 address CPU spikes - now using bellow to 0.5% in average 2018-09-28 20:47:57 +02:00
Yazan Medanat
6466ee44c1 refactor: only import the necessary methods from async. 2018-07-19 10:18:08 -04:00
Aymeric Lavit d'Hautefort
7520174e28 restart if module only 2016-11-30 16:48:58 +01:00
Aymeric Lavit d'Hautefort
1de79ce9ba (fix) module pid/mem monitoring 2016-11-28 16:14:20 +01:00
Unitech
f6be6f3dc6 #2492 drop legacy if statement in worker 2016-11-04 16:51:26 +01:00
vmarchaud
1d19cf2269 (feature) wait for application ready event when asked 2016-10-26 18:53:05 +02:00
Unitech
c05aa70a9c (pm2)(worker) display current memory usage when restarting on memory limit 2016-08-06 21:13:40 -07:00
Unitech
9cd16a1222 #709 #437 (feature) pm2 logs --json 2016-07-30 09:59:20 -07:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
8f6bc844c6 enhancement: move CLI related files to CLI / upgrade moment dependency / remove some unused require 2016-03-21 19:09:25 +01:00
Unitech
aac1919741 #2012 #1650 #1743 #1613: allow reconfiguration attrs/env on reload 2016-03-11 16:23:11 +01:00
Unitech
3469b5802b Options attrs updatable via CLI and JSON - small refactor for programmatic usage 2016-03-09 12:16:58 +01:00
Unitech
6c200be98f check values 2015-10-09 16:44:12 +02:00
Unitech
b44cc155a1 check both string and boolean 2015-10-09 16:19:39 +02:00
Dimitri Jorge
59f19cd440 Try to fix #1380, disable automatic garbage collection 2015-07-16 16:14:52 +02:00
Unitech
c460ff76b6 add back edge case 0 memory restart and adapt tests 2015-06-11 10:56:39 +02:00
Unitech
24b10bd5b1 comment edge case scenario behavior 2015-06-10 18:18:31 +02:00
jshkurti
30d03dc6d4 fixed ENOMEM crashing PM2 2015-06-05 17:50:30 +02:00
jshkurti
4fb08b655c GC is now called first when the worker runs to reduce ENOMEM errors 2015-06-05 15:22:55 +02:00
Joni Shkurti
ffa74fafdd max_memory_restart now performs a graceful reload 2015-05-17 19:02:42 +02:00
--global
bb6a778832 call reload instead of restart to gracefully restart processes 2015-04-22 17:26:01 -04:00
--global
5be0c52767 on max memory reached reload instead of restart 2015-04-22 16:53:14 -04:00
jshkurti
c394d36a0a +--no-vizion/+tests/+doc/+changelog 2015-04-16 20:15:29 +02:00
jshkurti
353589dcc2 +node.js tuning/+doc/+tests/added gc in worker 2015-04-14 20:53:21 +02:00
Unitech
62f0e1a98c remove useless console.error in case of starting an application without git repository 2015-03-05 00:33:33 -05:00
Unitech
96c4403f2b reset vizion_running on each restart + add error message in Worker.js 2015-03-04 21:18:15 -05:00
Joni Shkurti
628842b487 Now 0memory&online case restarts the app only if it is in cluster_mode 2015-02-18 16:12:58 +01:00
jshkurti
a1ea26f058 Replaced console.log() by debug() in worker 2015-02-16 17:19:23 +01:00
jshkurti
1627209ce5 Fixed pm2 desc cli-table bug 2015-02-16 15:53:22 +01:00
Unitech
36bf2c09e3 avoid to pass on pm2_env 2015-02-03 12:50:00 -05:00
jshkurti
9e4e246019 God.handleExit: more verbose 2015-01-29 15:59:40 +01:00
Gil Pedersen
0e8658e775 Never start a process that already has a PID 2015-01-13 14:02:08 +01:00
jshkurti
0e798b168d Fixed: multiple calls to vizion.parse() for the same process 2015-01-09 16:01:14 +01:00