Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

is_crontime_valid.js 181B

123456789
  1. const CronJob = require('../lib/cron.js').CronJob;
  2. try {
  3. new CronJob('NOT VALID', () => {
  4. console.log('shouldn\'t get printed');
  5. });
  6. } catch(e) {
  7. console.log('omg err', e);
  8. }