Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/varharrie/simple_cron
- Owner: varHarrie
- License: mit
- Created: 2022-02-28T15:50:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T11:16:38.000Z (over 2 years ago)
- Last Synced: 2024-11-16T20:35:05.481Z (3 days ago)
- Topics: cron, deno
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
```