Cron for Node.js with expressive code.
npm install cronode> Status: In development
Cron for Node.js with expressive code.
Use npm or yarn to install cronode.
```
npm install cronodeor
yarn add cronode
`js
const Cron = require('cronode')
Cron.job(() => {
// Tasks
console.log((new Date().toLocaleTimeString())
}).everyMinutes().start()
`
| Method | Example | Description |
|------------------------|------------------|----------------------------------|
| start() | | Run the task. |yearly()
| | | Run the task every year. |monthly()
| | | |weekly()
| | | |days()
| | days(0, 3, 5) | Run task every Sundays, Wednesdays, and Fridays |dailyAt(time)
| | dailyAt('14:20')| Run task daily at specific time.|daily()
| | | |hourly()
| | | |everyMinutes()
| | | |everyFiveMinutes()
| | | |everyTenMinutes()
| | | |everyFifteenMinutes()
| | | |everyThirtyMinutes()
| | | |sundays()
| | | |mondays()
| | | |tuesdays()
| | | |wednesdays()
| | | |thursdays()
| | | |fridays()
| | | |saturdays()` | | |
|
Software licensed under the MIT license.