Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js cron restart every round hour

import * as cron from 'cron';
let cronJob = cron.job('0 0 0-23 * * *',
    function() {
        console.log('You will see this message every round hour');
    },
    null,
    true,
    'America/Los_Angeles'
);
 
PREVIOUS NEXT
Tagged: #node #js #cron #restart #hour
ADD COMMENT
Topic
Name
6+6 =