Creating Recurring Tasks for TaskPaper/Listacular

The question of how to handle recurring tasks in plain-text task management has been asked and answered seemingly dozens of times, but I thought I would share what I found to be a pretty simple solution using Ruby and LaunchControl—which are my weapons of choice anyway. This requires a new script and lauchd task for every recurring event, but I think gives you a lot of control without a lot of hassle. The idea is simple: read a certain file every so often, and if a line isn’t in there, add it.

The Ruby script is pretty straightforward, then you can set it to run in LaunchControl whenever you like. In this screenshot below, the script runs every Monday, Wednesday and Friday at 5am; on the 3rd of every month at 8am; and every January 1st at 12:01am. I rarely use all of those at once, but it does demonstrate how flexible calendar scheduling can be in launchd.

comments powered by Disqus