Add backup timesheet
This commit is contained in:
parent
0b795255ae
commit
6c647806b4
@ -935,6 +935,8 @@
|
|||||||
(when (and
|
(when (and
|
||||||
(list? sheet')
|
(list? sheet')
|
||||||
(not (null? sheet')))
|
(not (null? sheet')))
|
||||||
|
(when (access? ts-file W_OK)
|
||||||
|
(copy-file ts-file (string-append ts-file ".bak")))
|
||||||
(with-output-to-file ts-file
|
(with-output-to-file ts-file
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(print-timesheet sheet' deadlines' archives'))))))))))
|
(print-timesheet sheet' deadlines' archives'))))))))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user