---
id: gk-foundation-scheduler-task-execute-after
title: "Action - gk/foundation/scheduler/task/execute/after"
sidebar_label: "gk/foundation/scheduler/task/execute/after"
tags:
  - "1.12.0"
---

# Action: gk/foundation/scheduler/task/execute/after

Fires after a task is executed.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $task | `\Task` | The task that was executed. |
| $job | `\JobInstance` | The job instance. |
| $next_rules | `\NextRunRules\|null` | The next run rules returned by the task. |

### Since

- 1.12.0

### Source

Defined in `Scheduler/Handlers/ScheduleHandler.php` at line 606

