I am guessing this has to do with how often your cron is run, see https://docs.moodle.org/311/en/Cron.
Custom certificate (plugin)
Time laps between completion and certificate award
Оваа дискусија е заклучена, и повеќе неможе да се пишуваат одговори.