Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Task Schedule

Task Schedule Laravel Package

dagasmart/task-schedule

A Laravel package for defining and managing scheduled tasks with a fluent PHP API. Register recurring jobs, configure intervals, and keep task scheduling organized and maintainable. Lightweight, easy to integrate, and built to fit naturally into Laravel applications.

View on GitHub
Deep Wiki
Context7

更灵活地管理应用中的任务调度器(支持5000+生产级任务:秒/分/时/天/月/周)

Frequently asked questions about Task Schedule
How do I install dagasmart/task-schedule in a Laravel application?
Install it with Composer by requiring dagasmart/task-schedule in your Laravel application. Laravel package auto-discovery should register the service provider; publish any config or migrations the package ships if you plan to persist schedule state. After that, confirm your normal one-minute scheduler tick is running before registering tasks.
Which Laravel and PHP versions are supported by dagasmart/task-schedule?
The provided context does not list an explicit Laravel or PHP support matrix, so check the package's composer.json constraints before adopting. It is described as a standard Laravel scheduler integration, and version 2.0.11 is a patch release on the 2.0 line. Test it on your target Laravel version and PHP runtime in a branch before production.
How do I define intervals, cron expressions, and timezones with the fluent API?
The package provides a fluent PHP API for common intervals, and it supports cron expressions plus timezone-aware runs. You use it to register recurring tasks around Laravel's scheduler rather than hand-editing every cron entry. Verify the exact method names in the package docs for your installed 2.0.x version.
How is dagasmart/task-schedule different from Laravel's built-in scheduler?
Laravel's scheduler owns the ticking and execution model; this package is a fluent definition and organization layer around it. It is intended to complement schedule:run and the queue, not replace them. Use Laravel's scheduler as the runtime and the package as a cleaner control plane for recurring task definitions where that fits your team.
How does overlap protection work against duplicate concurrent runs?
The package advertises overlap protection against duplicate concurrent executions. Confirm which locking primitive it uses—cache, database, or another store—and whether that lock is safe across horizontally scaled app instances. Test double-fire scenarios in staging, because dynamic schedules can be easier to double-run than static cron entries.
Does dagasmart/task-schedule dispatch queued jobs or execute task logic inline?
The overview does not explicitly state whether entries dispatch queued jobs or execute callbacks inline in the scheduler process. At scale, the acceptable pattern is for the package to decide when work is dispatched while Laravel's queue owns execution. Verify the runtime behavior before migrating business logic, and reject designs that run heavy logic inside schedule:run.
Where does dagasmart/task-schedule store schedules, and do I need migrations?
The evaluation notes published config and migrations for whatever schedule state the package persists, so plan for database-backed schedules if you use that mode. Treat the database as production configuration: seed it, version changes, review them, and have a rollback path. Also confirm multi-tenant safety and behavior across multiple app instances.
How can I monitor scheduled task results and failures?
Logging hooks are listed for monitoring task results, which you can route into your existing logging and alerting stack. Define the signals you need—last run, duration, outcome, and failure reason—and verify which events or hooks the current 2.0.x release actually emits. For queued work, pair this with Laravel's queue failure handling and failed-job monitoring.
Can I pause or disable a scheduled task without deploying code?
The package description focuses on defining and organizing recurring tasks and does not explicitly document pause/resume or an audit trail. If schedules are stored in application state, ask whether enable/disable can be done without a deploy and whether changes are attributed to a user. If your organization requires all schedule definitions to be code-reviewed artifacts, a database-driven schedule may be a governance regression.
Is dagasmart/task-schedule actively maintained, and what does the 2.0.11 release tell me?
Version 2.0.11 is a patch release on the 2.0 line, and the published notes reportedly contain only an empty changelog link. Patch-level semver implies no breaking change, but read the diff and check recent maintainer activity before adopting. Treat release-note quality as a maintenance-quality input and pin the version you test.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource