---
title: Monitor short-lived .NET processes
source: https://docs.newrelic.com/docs/apm/agents/net-agent/troubleshooting/monitor-short-lived-net-processes
---

## Problem

You have a .NET process that runs for less than 60 seconds and are not seeing data reported for that process.

## Solution

The APM [harvest cycle](https://docs.newrelic.com/docs/new-relic-solutions/get-started/glossary/#harvest-cycle) is 60 seconds. For this reason, processes that run for shorter periods of time may not report data. To fix this, use the `sendDataOnExit` and `sendDataOnExitThreshold` [service elements](https://docs.newrelic.com/docs/apm/agents/net-agent/configuration/net-agent-configuration/#service) in your [newrelic.config](https://docs.newrelic.com/docs/apm/agents/net-agent/configuration/net-agent-configuration/#config-options-precedence). You must set the `sendDataOnExitThreshold` value to a lower amount of time than the process takes to complete.
