set 7 days
This commit is contained in:
parent
466e35b5d1
commit
2e69313a12
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@ cd /nix/var/nix/gcroots/albatros
|
|||
|
||||
# remove any symlink that is older than 7 days
|
||||
NOW=$(date +%s)
|
||||
#EXPIRE=$((60*60*24*7)) # 7 days in seconds
|
||||
EXPIRE=1700 # 7 days in seconds
|
||||
EXPIRE=$((60*60*24*7)) # 7 days in seconds
|
||||
|
||||
for f in $(ls); do
|
||||
CR=$(stat $f -c %W)
|
||||
|
|
Loading…
Reference in a new issue