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

No packages published