Task "Last Executed" property

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
Steve Horn
HouseBot Guru
Posts: 747
Joined: Wed Apr 02, 2003 8:10 pm
Location: Pelham AL

Task "Last Executed" property

Post by Steve Horn »

When is that value updated?
At the completion of the task?
At the beginning of the task?
And if the task has as its first statement an "IF" test and that test fails, is the Last Executed property even "touched"? And if not, should it be?
Steve
ScottBot
Site Admin
Posts: 2786
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Task "Last Executed" property

Post by ScottBot »

Steve,

The last executed time is set as soon as the task is requested to run. Even before the thread that it runs in is started. So if anything fails, it's still marked as executed.

I suppose it could be set at the completion of the task, but it was really just an indicator to see that there was some activity.
Scott
Steve Horn
HouseBot Guru
Posts: 747
Joined: Wed Apr 02, 2003 8:10 pm
Location: Pelham AL

Re: Task "Last Executed" property

Post by Steve Horn »

Thats what I originally assumed: its time-stamped upon being run or called. Odd though, as I have one that is being called by another, that according to its time stamp never gets called. And yet I see no reason in the calling task why it would not execute the called task. Hmmm. Will look at it further. Thanks.
Steve
Post Reply