some scenarios require us to run a piece of code at a specific time of day, the following method allows us to do this:
function runAtSpecificTimeOfDay(hour, minutes, func)
{
const twentyFourHours = 86400000;
const now = new Date();
let eta_ms = new Date(now.getFullYear(), now.getMonth(), now.getDate(), hour, minutes, 0, 0).getTime() - now;
if (eta_ms < 0)
{