ut-port-schedule

7.1.2 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.1.213latest
6.1.0-rc-godfather.20rc-godfather
6.0.0-ut6.10ut6
6.0.0-ut6.00ci

Version History

VersionDownloads (Last 7 Days)Published
7.1.213
7.1.10
7.1.00
7.0.30
7.0.20
7.0.10
7.0.00
6.1.0-rc-godfather.20
6.1.0-rc-godfather.10
6.1.0-rc-godfather.00
6.0.10
6.0.00
6.0.0-ut6.10
6.0.0-ut6.00
5.6.0-rc-acapulco.00
5.5.70
5.5.60
5.5.50
5.5.41
5.5.30
5.5.21
5.5.10
5.5.00
5.4.70
5.4.60
5.4.50
5.4.40
5.4.30

Package Sidebar

Install

npm i ut-port-schedule

Weekly Downloads

14

Version

7.1.2

License

Apache-2.0

Unpacked Size

223 kB

Total Files

35

Last publish

Collaborators

  • kalin.krustev