Skip to content

AndrewLawendy/daily-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

daily-scheduler

GitHub GitHub package.json version npm GitHub file size in bytes

NPM

This will help you to schedule any function to be executed daily at a specific time. Can be used on a browser or in an electron app depending on the browser's/operating system's time zone.

Getting Started

Install daily-scheduler using npm:

$ npm install daily-scheduler

Import daily-scheduler and schedule a task:

var schedule = require('daily-scheduler');

schedule(14,0,0, () => {
  console.log("It's 02:00 PM!");
});

Syntax

daily-scheduler takes 4 arguments

  • hours: 0 - 23
  • minutes: 0 - 59
  • seconds: 0 - 59
  • callback: function, typically () => void

About

Client side daily scheduler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published