Scheduled Background Task Log Question

I have a background task scheduled to run at 10 UTC every day. It works fine. But because of an (unrelated) error this week I had to look at the logs and I’m trying to understand something in them. The task takes about 5 minutes to run and the last thing it does is send me an email that it has run, so I know it is done around 10:05 or so UTC every day (which is 6:05 EDT here in NYC). But when I looked at the log, every day, the last line of the log is something like:
Scheduled task ended (after) at 23:48:58 EDT on Mon July 28th 2025

In the documentation, instead of (after) it says (completed) in the example. Am I doing something wrong and leaving some process connected all day? The scheduled background task ends with a naked return statement. Is there something more I need to do?

1 Like