-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I have configured a task to run every 5 minutes like this:
Flowpack:
Task:
tasks:
'Example.Taskname':
label: Label
description: My example task
handlerClass: 'Class\That\Exists'
cronExpression: '*/5 * * * *'
workload:
interval: PT6M
jobs: 'log,visit'
The task is created in the database and scheduled with a next run. However, it is never started and does not create any error output in task:list or task:show or the Flow System log. If I run the code the task would execute manually, it works.
This is the anonymized oputput of task:list :
+-------------------------------+-----------------------------+-----------------+---------------------------------------------------------------------------------+-------------------+---------------------+-----------------------+-------------------------------+
| Identifier | Label | Cron Expression | Handler Class | Previous Run Date | Previous Run Status | Previous Run Duration | Next Run |
+-------------------------------+-----------------------------+-----------------+---------------------------------------------------------------------------------+-------------------+---------------------+-----------------------+-------------------------------+
| Example.Taskname | Label | */5 * * * * | Class\That\Exists | - | - | - | 2026-02-13 15:30:00 (delayed) |
+-------------------------------+-----------------------------+-----------------+---------------------------------------------------------------------------------+-------------------+---------------------+-----------------------+-------------------------------+
and task:show :
Task Info
+-----------------+---------------------------------------------------------------------------------+
| Cron Expression | */5 * * * * |
| First Execution | 2026-02-14 13:50:47 |
| Last Execution | - |
| Handler Class | Class\That\Exists |
| Workload | { |
| | "interval": "PT6M", |
| | "jobs": "log,visit" |
| | } |
| Next Run | 2026-02-13 15:30:00 (delayed) |
+-----------------+---------------------------------------------------------------------------------+
Task Executions
This task has not yet been executed.
I tried deleting the entry in the database, flushing caches and then scheduling it again with task:run. It recreates the task entry in the database but the delay persists.
Is there any way to diagnose why it is delayed?
Setup:
PHP 8.4.16
Flow 9.0.5
flowpack/task 1.2.1
Production Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels