Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pomelo-scheduler

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pomelo-scheduler - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

6

lib/cronTrigger.js

@@ -71,5 +71,5 @@ /**

}
date.setDate(1);
date.setMonth(nextMonth);
date.setDate(1);
date.setHours(0);

@@ -90,4 +90,4 @@ date.setMinutes(0);

if(nextDom <= date.getDate() || nextDom > domLimit){
date.setDate(1);
date.setMonth(date.getMonth() + 1);
date.setDate(1);
date.setHours(0);

@@ -94,0 +94,0 @@ date.setMinutes(0);

{
"name": "pomelo-scheduler",
"version": "0.3.8",
"version": "0.3.9",
"main": "./lib/schedule",
"author": "XiaogangZhang <zhang0925@gmail.com>",
"dependencies": {
"log4js" : ">=0.4.1"
"log4js" : "0.6.7"
}
}

@@ -107,3 +107,3 @@ # pomelo-scheduler

//Add a simple job and save the id
var id = schedule.scheduleJob({period: 1000}, cronJob, {);
var id = schedule.scheduleJob({period: 1000}, simpleJob, {});

@@ -110,0 +110,0 @@ /**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc