a google script to log completed tasks to a spreadsheet and repeat flagged tasks at defined intervals