Allows simple Recurring Events, Using a Flat-File
Uses extended Syntax of Todo.txt
and is inspired by ice_recur
npm install -g todotxt-recurring
todotxt-recurring /path/to/your/todotxt/folder
In your Todo.txt Folder you must place a file called todo.recurring
The (simple) Format is:
Unit ; day - Todo.txt Line to Add
weekly ; 2 - $DATE (A) Windows Updates +server @company
(Add this on Tuesday)
daily - $DATE (A) Windows Restart +server @company
(Add this today)
monthly ; 1,15 - $DATE (A) Clean EventLog +server @company
(Add this on the first and 15th of this month)
yearly ; 120 - $DATE (A) Reinstall Windows +server @company
(Add this on the 120th day of the year)
- daily (will add the line for today)
- weekly (will add the line for every day on this week where the day matches, may be an array. Days are numbers, starting from Sunday(=0))
- monthly (will add the line for every day in this month where the day matches, may be an array. Days are the day of month numbers)
- yearly (will add the line for every day in this year where the day matches, may be an array. Days are the day of year numbers)
In the Todo.txt Line you may use a variable $DATE.
It holds the Date from the timecode.
Another File will be created in you Folder called todo.recurring.added
It holds the added lines to prevent multiple entries