0.1.7 • Published 12 years ago
schemduler v0.1.7
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 minutesBefore we begin, run the schemduler server once and for all (ideally, run this command on your system boot)
sudo schemduler server startNow just run on root of your project :
schemduler setupHe we go, your TestWorker and TestCron run as described
Check this :
schemduler statusInstall
npm install -g schemduler