cronstack
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

CronStack

cronstack is a versatile library for managing tasks, scheduling functions. It allows you to automate the execution of functions through triggers or scheduled intervals. The package includes powerful CLI tools for managing your tasks, transpiling code, and bundling resources.

Installation

npm install cronstack

Directory Structure

For the service to be recognized, ensure your service file follows the pattern:

  1. Directly under the services directory.
+<name>.service.ts
  1. Directory with name of the service under services directory.
<name>/+service.ts

Notice that you can put the services directory in src as well.

Example
project-root
|-- services
|   |-- +<name>.service.ts
|   |-- <name>
|       |-- +service.ts

Initialize Project

Command
npx cronstack init

Creating a new Service

Command
cronstack add <name> --interval <interval>

License

MIT © Shahrad Elahi

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i cronstack

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

184 kB

Total Files

8

Last publish

Collaborators

  • shahradelahi