Brian Osserman
10/26/2022, 4:39 PM@task
python code with elapsed time, which is 'backdated' to when the logs indicate the task actually finished. At the same time, it will generate the usual 'Finished task run' message, and 'Starting task run' for the next task, with timestamps that are not backdated.
So if the task started at time A, and the logs (which aren't sent to console) indicate it finished at time B, and I hit Ctrl-C at time C, then before I hit Ctrl-C, I just see the INFO lines with timestamp A indicating the task started. But when I hit Ctrl-C, I immediately get the INFO line with timestamp B showing the elapsed time to complete is B - A, and then INFO lines with timestamp C saying that the task completed with state success, and that the next task has started.Mason Menges
10/27/2022, 3:50 PMBrian Osserman
10/27/2022, 5:44 PM