PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
cron
/
examples
const CronJob = require('../lib/cron.js').CronJob; console.log('Before job instantiation'); const job = new CronJob('00 00 00 * * *', function() { const d = new Date(); console.log('Midnight:', d); }); console.log('After job instantiation'); job.start();
[-] is_job_running.js
[edit]
[-] every_10_minutes.js
[edit]
[-] get_next_runs.js
[edit]
[+]
..
[-] is_crontime_valid.js
[edit]
[-] time_dom_syntax_with_tz.js
[edit]
[-] at_10_minutes.js
[edit]
[-] in_the_past.js
[edit]
[-] complex_expr.js
[edit]
[-] multiple_jobs.js
[edit]
[-] basic.js
[edit]
[-] object_param.js
[edit]
[-] mon_to_fri_at_11_30.js
[edit]
[-] long_running_on_tick.js
[edit]
[-] at_midnight.js
[edit]
[-] every_30_minutes_between_9_and_5.js
[edit]
[-] run_at_specific_date.js
[edit]