Dart scheduler allows you to run agnostic cron and jobs, on any OS🔥
With Python and NodeJS already embedded 👍
docker run -d -p 3010:3010 --name scheduler dart-scheduler:1 \
-e DART_SCHEDULER_ENV='development' \
-e DART_SCHEDULER_PORT='3010' \
-e DART_SCHEDULER_HOST: 0.0.0.0\
-e DART_SCHEDULER_AES_CIPHER='2,3,2,10,3,77,2,3,31,2,65,151,35,111,1,2,3,9,2,64,111,7,111,1,2,3,211,2,34,111,33,111' \
-e DART_SCHEDULER_DB_PATH='/home/db'
version: "3.9"
services:
web:
image: naoufalzerai/dart_scheduler
ports:
- "3010:3010"
volumes:
- ../compose-test:/db
environment:
DART_SCHEDULER_ENV: production
DART_SCHEDULER_HOST: 0.0.0.0
DART_SCHEDULER_PORT: 3010
DART_SCHEDULER_AES_CIPHER: 2,3,2,1,3,77,2,3,31,2,65,111,35,111,1,2,3,9,2,64,111,7,111,1,2,3,211,2,34,111,33,111
DART_SCHEDULER_DB_PATH: /db
Make sure you have Dart instaled
- Clone the repo
Git clone https://github.com/naoufalzerai/dart_scheduler.git
- Open the folder
cd dart_scheduler
- Build the project
dart compile exe -o dart_scheduler.exe lib/main.dart
- Create .env config
DART_SCHEDULER_ENV = development
DART_SCHEDULER_HOST = 0.0.0.0
DART_SCHEDULER_PORT = 3010
DART_SCHEDULER_AES_CIPHER = 2,3,2,10,3,77,2,3,31,2,65,151,35,111,1,2,3,9,2,64,111,7,111,1,2,3,211,2,34,111,33,111
DART_SCHEDULER_DB_PATH = /home/db
- Execute dart_scheduler.exe
./dart_scheduler.exe
Availble endpoints :
GET /job
POST /job
DELETE /job
GET /job/create
GET /job/edit/:id
POST /job/toggle/:id
GET /job/:id
PUT /job/:id
DELETE /job/:id
GET /execution
DELETE /execution
GET /execution/:id
DELETE /execution/:id
GET /run/ws
- Authentification
- CORS config
- Unit testing
- Trigger job
- API
- Auto refresh
- Visual coherence
- Add CMD
- Filter and sort table
- Docker-compose
- Edit
- Enable/disable
- Wipe logs
- Start/Stop
- Delete
- Stop execs
- Delete Job + Logs
- Run script
- Sort executions by date
- Bug first job didn't show