Hi everyone, I’ve just upgraded to Tinderbox 11 and I’m getting back into using it. I’m working on setting up agents to manage my tasks and had a couple of questions.
1. Tasks due today
I created this agent, and it seems to work fine:
$DueDate == date(“today”)
$Checked == false
2. Overdue tasks
For overdue tasks, I tried this, but it doesn’t seem to work:
$DueDate != “”
$DueDate > date(“today”)
Do you see any mistakes in this query?
3. Next step: recurring tasks
My next project is to set up a system for recurring meetings and tasks. If anyone has tips, examples, or guides on how to handle recurring items in Tinderbox, I’d really appreciate it!
Hey Michael, thanks for getting back to me. For recurring tasks, what I’m aiming to build is an agent that lists everything due today. For example, if I have a task like “take out the trash” every Monday, or “recycling” every two weeks, once I mark it as done ($Checked=true), the system should automatically reschedule it for the next occurrence.
Ok…but, what exactly do you want to see? Do you want a new note generated for the next occurrence and move the current note to an archive, or do you want to reset the current note’s date to next week and put in a log that the trash was taken out on “this date”? Anything can be done; it will all come down to your immediate and long-term intentions, especially around reporting and note management. For example, if you don’t care about adding comments to a particular trash day, then maybe the logging approach is better, as this would reduce the quantity of notes.
Gotcha, then I would write a $Rule or $Edit with something like this:
if($Checked==true){ $DueDate+="7 days"; $Checked=false: };
You’ll see the $DueDate today, once you check the box that you’ve done something, it will push the date back a week and set the $Checked to false.
Wow, thats awesome. The only issue I am have now is overdue tasks. I have the following in my Overdue tasks agent:
$DueDate < date(“today”) & $DueDate != date(“today”) & $DueDate!=“never”
This displays tasks that are due today and other notes that dont have a DueDate attribute.
Well it looks like it worked, just took a little time for the agent to update.