schemduler

0.1.7 • Public • Published

schemduler

preview
Shemduler is a simple CLI tool for manage your tasks (crons and workers jobs). It's designed for works by projects.

Put a sample yaml config file schemduler.yml in your root project, like this :

# Run command `artisan queue:listen` and run again if program closed
TestWorker:
  script: artisan
  args:
    - "queue:listen"

# Run command `artisan queue:retry` every 10 minutes
TestCron:
  script: artisan
  args:
    - "queue:retry"
  interval: every 10 minutes

Before we begin, run the schemduler server once and for all (ideally, run this command on your system boot)

sudo schemduler server start

Now just run on root of your project :

schemduler setup

He we go, your TestWorker and TestCron run as described

Check this :

schemduler status

Install

npm install -g schemduler

Readme

Keywords

Package Sidebar

Install

npm i schemduler

Weekly Downloads

2

Version

0.1.7

License

none

Last publish

Collaborators

  • ghislainf