How can a build pipeline be scheduled to execute at a certain time of the night just like a regular job can be?
Declarative pipeline has triggers directive, one uses it like this:
triggers
triggers { cron('H 4/* 0 0 1-5') }
I took it from Pipeline Syntax docs