Ironium v2.4.0 Release Notes

Release Date: 2015-06-23 // almost 9 years ago
  • 🔄 CHANGED when testing, you need to advance the clock to run a scheduled job.

    For example:

    Ironium.scheduleJob('daily', '24h', function(done) {
      console.log('Run daily job');
    });
    await Ironium.runOnce();
    TimeKeeper.travel(Date.now() + ms('24h'));
    await Ironium.runOnce();
    => Run daily job