summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2021-05-31 11:22:24 +0200
committerGitHub <noreply@github.com>2021-05-31 11:22:24 +0200
commit1905cb44d3c4c47d4604b8fa9bf4c6c7f1f81b86 (patch)
treecba7190bf7b80e997b782864c6af2654a8c75beb
parentd58a832c81c2c96ae0f6e72614e1cc47f4b5d332 (diff)
parent608a3f00f3f58bd4044cdc4e16cb99968a633a93 (diff)
downloaduwsgi-1905cb44d3c4c47d4604b8fa9bf4c6c7f1f81b86.tar.gz
Merge pull request #2317 from xrmx/print-cron-routing-signals
cron: log signal dispatching from registered cron handler
-rw-r--r--core/cron.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cron.c b/core/cron.c
index eac693a5..2c482aae 100644
--- a/core/cron.c
+++ b/core/cron.c
@@ -238,6 +238,7 @@ void uwsgi_manage_signal_cron(time_t now) {
if (run_task == 1) {
// date match, signal it ?
if (now - ucron->last_job >= 60) {
+ uwsgi_log_verbose("[uwsgi-cron] routing signal %d\n", ucron->sig);
uwsgi_route_signal(ucron->sig);
ucron->last_job = now;
}