Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ming-tsai/cron-dynamically

A lab for managing the cron job by Yaml file using the package node-cron.
https://github.com/ming-tsai/cron-dynamically

cron dynamically-schedule node-cron yaml-configuration

Last synced: 12 days ago
JSON representation

A lab for managing the cron job by Yaml file using the package node-cron.

Awesome Lists containing this project

README

        

# cron-dynamically
A lab for managing the cron job by Yaml file using the package `node-cron`.

### Example logs
```bash
[nodemon] restarting due to changes...
[nodemon] starting `ts-node src/index.ts`
The task hello-word has started
The task typing-somethings has started
Wed May 26 2021 15:56:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 15:57:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 15:57:00 GMT-0400 (Bolivia Time) dde382d8-ffa9-4b7a-b0d0-770515e872e8 */3 * * * * typing somethings
Wed May 26 2021 15:58:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 15:59:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 16:00:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 16:00:00 GMT-0400 (Bolivia Time) dde382d8-ffa9-4b7a-b0d0-770515e872e8 */3 * * * * typing somethings
Wed May 26 2021 16:01:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
File has been modified
The task typing-somethings has started
File has been modified
Wed May 26 2021 16:02:00 GMT-0400 (Bolivia Time) dde382d8-ffa9-4b7a-b0d0-770515e872e8 */2 * * * * typing somethings
Wed May 26 2021 16:02:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
```

## License
[MIT](./LICENSE)