mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
datelog script added
This commit is contained in:
parent
04a5d284a1
commit
92037e3f08
6
.scripts/datelog
Executable file
6
.scripts/datelog
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# I have a cronjob run this every minute to log time spend on the computer in
|
||||
# `~/.time` for each day. Gives estimate of daily NEEThood.
|
||||
|
||||
date=`date '+%y-%m-%d'`
|
||||
echo $((`cat ~/.time/"$date"`+1)) > ~/.time/"$date"
|
||||
Loading…
x
Reference in New Issue
Block a user