Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/varharrie/simple_cron

A cron library for deno and inspired by node-cron.
https://github.com/varharrie/simple_cron

cron deno

Last synced: about 5 hours ago
JSON representation

A cron library for deno and inspired by node-cron.

Awesome Lists containing this project

README

        

# simple_cron for Deno

A cron library for deno and inspired by [node-cron](https://github.com/node-cron/node-cron).

## Usage

```javascript
import { cron } from "https://deno.land/x/simple_cron/mod.ts";

// Start a scheduled task
const task = cron('0 30 9 * * mon', () => {
console.log('log at 09:30 on Monday.');
})

// Stop it
task.stop();
```