Skip to content

alex2600/node-at3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

at3

Run something at a specific time.

Install

npm i at3

Usage

Callback style

const at = require("at3")
at(new Date("2023-01-01T00:00:00"), () => console.log("๐ŸŽ‰"))

Promise style

const at = require("at3")
at(new Date("2023-01-01T00:00:00")).then(() => console.log("๐ŸŽ‰"))

or

const at = require("at3")
await at(new Date("2023-01-01T00:00:00"))
console.log("๐ŸŽ‰")

About

run something at a specific time

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors