diff --git a/core/master_utils.c b/core/master_utils.c index 3b940a36..5b998ab6 100644 --- a/core/master_utils.c +++ b/core/master_utils.c @@ -724,7 +724,7 @@ void uwsgi_manage_command_cron(time_t now) { } } if (current_cron->month < 0) { - if ((uwsgi_cron_delta->tm_hour % abs(current_cron->month)) == 0) { + if ((uwsgi_cron_delta->tm_mon % abs(current_cron->month)) == 0) { uc_month = uwsgi_cron_delta->tm_mon; } }