Category: todo.txt
-
Todo.txt – Insert repeating tasks v1
(Not tested extensively). A script to add todo’s to todo.txt. Add a crontab each dat at 0:00 with the following script: #!/bin/bash SCHEDFILE=$HOME/todo/scheduled.txt TODOFILE=$HOME/todo/todo.txt # Look for all date types in scheduled for RAWDATE in $(egrep -o “^[a-zA-Z]*” $SCHEDFILE); do # Format date types for date DATESTR=” for str in $RAWDATE; do DATESTR+=”%$str”; done #…