projects
/
gnt-info
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix column aligment for attributes
[gnt-info]
/
gnt-job-purge-older-than.sh
1
#!/bin/sh
2
3
job=$1
4
5
test -z "$job" && echo "Usage: $0 job_id" && exit 1
6
7
ls /var/lib/ganeti/queue/job-* | sed 's/^.*job-//' | awk '{ if ( $1 < 3194118 ) print "/var/lib/ganeti/queue/job-"$1 }' | xargs rm -v
8
9