[BUG] 定时任务重复执行
まだ誰も着手していません。
評価
調査の方向性
このレポートには PHP、Swoole、hyperf/crontab の環境と、スケジュール、設定、タスククラスのスクリーンショットが示されていますが、ソースファイルやテストは記載されていません。まず、その設定で重複実行を再現し、スケジュールされたタスクのエントリーポイントを追跡してください。完了の条件は、設定されたタスクが意図したスケジュールごとに1回実行され、繰り返し実行されないことです。
索引モデルが issue の本文から書いたものです。
説明
环境
Linux 9e1c32c7d4d8 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 Linux
PHP 8.4.14 (cli) (built: Oct 24 2025 20:05:56) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.14, Copyright (c) Zend Technologies
with Zend OPcache v8.4.14, Copyright (c), by Zend Technologies
friendsofhyperf/lock 3.1.77 The lock component for Hyperf.
friendsofhyperf/tinker 3.1.75 The Powerful REPL for Hyperf.
hyperf/async-queue 3.1.64 A async queue component for hyperf.
hyperf/cache 3.1.67 A cache component for hyperf.
hyperf/code-parser 3.1.63 A code parser component for Hyperf.
hyperf/codec 3.1.63 A codec component for Hyperf.
hyperf/collection 3.1.64 Hyperf Collection package which come from illuminate/collections
hyperf/command 3.1.64 Command for hyperf
hyperf/conditionable 3.1.63 Hyperf Macroable package which come from illuminate/conditionable
hyperf/config 3.1.63 An independent component that provides configuration container.
hyperf/context 3.1.63 A coroutine/application context library.
hyperf/contract 3.1.63 The contracts of Hyperf.
hyperf/coordinator 3.1.63 Hyperf Coordinator
hyperf/coroutine 3.1.65 Hyperf Coroutine
hyperf/crontab 3.1.67 A crontab component for Hyperf.
hyperf/database 3.1.68 A flexible database library.
hyperf/db-connection 3.1.66 A hyperf db connection handler for hyperf/database.
hyperf/devtool 3.1.66 A Devtool for Hyperf.
hyperf/di 3.1.67 A DI for Hyperf.
hyperf/dispatcher 3.1.63 A HTTP Server for Hyperf.
hyperf/engine 2.15.0 Coroutine engine provided by swoole.
hyperf/engine-contract 1.14.0 Contract for Coroutine Engine
hyperf/event 3.1.63 an event manager that implements PSR-14.
hyperf/exception-handler 3.1.63 Exception handler for hyperf
hyperf/filesystem 3.1.68 flysystem integration for hyperf
hyperf/framework 3.1.63 A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle 3.1.66 Swoole coroutine handler for guzzle
hyperf/http-message 3.1.65 microservice framework base on swoole
hyperf/http-server 3.1.65 A HTTP Server for Hyperf.
hyperf/laminas-mime 3.0.0 Create and parse MIME messages and parts
hyperf/logger 3.1.63 A logger component for hyperf.
hyperf/macroable 3.1.63 Hyperf Macroable package which come from illuminate/macroable
hyperf/memory 3.1.63 An independent component that use to operate and manage memory.
hyperf/model-listener 3.1.63 A model listener for Hyperf.
hyperf/paginator 3.1.65 A paginator component for hyperf.
hyperf/pipeline 3.1.63 Hyperf Macroable package which come from illuminate/pipeline
hyperf/pool 3.1.66 An independent universal connection pool component.
hyperf/process 3.1.63 A process component for hyperf.
hyperf/redis 3.1.66 A redis component for hyperf.
hyperf/serializer 3.1.63 A serializer component for Hyperf.
hyperf/server 3.1.63 A base server library for Hyperf.
hyperf/socketio-server 3.1.63 Socket.io implementation for hyperf
hyperf/stdlib 3.1.63 A stdlib component for Hyperf.
hyperf/stringable 3.1.65 Hyperf Stringable package which come from illuminate/support
hyperf/support 3.1.65 A support component for Hyperf.
hyperf/tappable 3.1.63 Hyperf Macroable package which come from illuminate/tappable
hyperf/testing 3.1.63 Testing for hyperf
hyperf/translation 3.1.63 An independent translation component, forked by illuminate/translation.
hyperf/validation 3.1.67 hyperf validation
hyperf/websocket-server 3.1.63 A websocket server library for Hyperf.
swoole
Swoole => enabled
Author => Swoole Team team@swoole.com
Version => 6.1.6
Built => Jan 26 2026 12:49:13
host byte order => little endian
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 3.3.5 30 Sep 2025
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
curl-version => 8.14.1
c-ares => 1.34.6
zlib => 1.3.1
brotli => E16781312/D16781312
mutex_timedlock => enabled
pthread_barrier => enabled
coroutine_pgsql => enabled
coroutine_odbc => enabled
coroutine_sqlite => enabled
Directive => Local Value => Master Value
swoole.enable_library => On => On
swoole.enable_fiber_mock => Off => Off
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
定时任务时间
定时任务配置
定时任务类
- 主要言語
- PHP
- スター
- 13
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperf/crontab のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
任务执行时间迟了一秒钟 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
解析不了 每月最后一天 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
UX
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
OpenConext/OpenConext-engineblock#2122 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Automattic/safe-publish#594 ·