Skip to content

ExternKit/extern-js-schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extern-js-schedule

  • Target : Javascript (NodeJS)
  • Library : node-schedule
  • Last tested version : 1.0.0
  • Available on : Github - NPM

Usage

import js.schedule.*;

class Main
{
  static function main()
  {
    // Examples with the cron format:
    var job = Schedule.scheduleJob('42 * * * *', function() {
      trace('The answer to life, the universe, and everything!');
    });

    // And:
    var job2 = Schedule.scheduleJob('0 17 ? * 0,4-6', function(){
      trace('Today is recognized by Rebecca Black!');
    });
    //Execute a cron job every 5 Minutes = */5 * * * *
  }
}

About

NodeJS node-schedule library extern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages