schemduler
v0.1.7
Published
A light-weight job scheduling system
Downloads
3
Readme
schemduler
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