ENH: Only add new data to report.
When the last reported values are identical to the current values, do not append the same information (just with a new timestamp) to the report. Instead, just print the last report line. With this, the report action can be scheduled periodically (e.g. via cron) without artificially inflating the report file.
This commit is contained in:
@@ -167,7 +167,7 @@ TODO: Report file updated.
|
||||
|
||||
>>> todo.sh report
|
||||
2009-02-13T04:40:00 5 2
|
||||
TODO: Report file updated.
|
||||
TODO: Report file is up-to-date.
|
||||
|
||||
>>> todo.sh remdup
|
||||
Usage: todo.sh [-fhpantvV] [-d todo_config] action [task_number] [task_description]
|
||||
|
||||
Reference in New Issue
Block a user