7.1.2 • Published 8 months ago

ut-port-schedule v7.1.2

Weekly downloads
8
License
Apache-2.0
Repository
github
Last release
8 months ago

Schedule port: ut-port-schedule

The purpose of this port is for cron tasks(scheduler).

Technological Dependencies

In the UT5 implementations the Schedule port is initialized in the following manner:

    module.exports = {
        id: 'scheduler',
        type: 'schedule',
        logLevel: 'info',
        extLoad: {//call some port with some menthod, result will be pushed as jobs, result should be object with hash key `jobsList` and within should have array with all jobs
          from: 'maindb.scheduleLoad',
          every: '60s'//it will run every 60 sec, s: sec, m: min. , h: hours
        },
        ran: {
          notify: 'maindb.scheduleTaskRan'//called after every task run with message job itself
        },
        jobsList: {
          job1: {
              opcode: 'job1',
              pattern: '1 * 1 * * *',
              lastRun: null
          }
        },

        namespace: ['scheduler'],
        imports: [],
        receive: function(msg) {
            return msg;
        },
        send: function(msg) {
            return msg;
        }
    }

all of the properties that can be set can be seen in the Nodemailer github page

7.1.2

8 months ago

7.1.1

2 years ago

7.1.0

3 years ago

7.0.3

4 years ago

7.0.2

5 years ago

7.0.1

5 years ago

7.0.0

5 years ago

6.0.1

6 years ago

6.0.0

6 years ago

6.0.0-ut6.1

7 years ago

6.0.0-ut6.0

7 years ago

5.5.7

7 years ago

5.5.6

7 years ago

5.5.5

7 years ago

5.5.4

7 years ago

5.5.3

7 years ago

5.5.2

7 years ago

5.5.1

7 years ago

5.5.0

7 years ago

5.4.7

8 years ago

5.4.6

8 years ago

5.4.5

8 years ago

5.4.4

8 years ago

5.4.3

8 years ago