1.0.1 • Published 3 years ago

date2cron v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Date2Cron

Date2Cron is the most useful package you will ever see. It converts a date to a cron string. Thats all it does.

import Date2Cron from 'date2cron';

// Returns the current date in cron format
// Add minutes, hours, days or months to run get a cron statement that will run once at the specifed date.
new Date2Cron(new Date()).convert();

Information

If I can think of more to implement to this I will add it.