crontinel - Crontinel API Client for Rust
Report cron and background job runs to Crontinel Cloud.
Quickstart
[]
= "0.1"
use Crontinel;
let client = new;
client.set_base_url;
// Report a cron run
client.schedule_run.unwrap;
Get your API key at app.crontinel.com.
Usage
// Report a scheduled command
client.schedule_run.unwrap;
// Report queue processing
client.queue_processed.unwrap;
// Send a custom event
client.event.unwrap;
// Monitor a closure
let = client.monitor_schedule;
assert_eq!;
Features
schedule_run— report scheduled command outcomequeue_processed— report queue worker activityhorizon_snapshot— report Laravel Horizon supervisor statusevent— send custom events and alertsmonitor_schedule— run a closure and auto-report outcome
Builder
let client = builder
.api_url
.app_name
.timeout
.build;
Laravel Integration
For Laravel applications, use the official crontinel/laravel package which integrates with the scheduler and queue worker out of the box.