Browse Source

Added timeout to scratch cleanup.

pull/6/head
Egon Rijpkema 5 years ago
parent
commit
32c0377bca
  1. 2
      roles/interactive/tasks/main.yml

2
roles/interactive/tasks/main.yml

@ -5,5 +5,5 @@ @@ -5,5 +5,5 @@
minute: 42
hour: 0
user: root
job: 'find /scratch/* -mtime +30 -type f -delete -print 2>&1 | $(logger -t purge_scratch)'
job: '/usr/bin/timeout 3600 find /scratch/* -mtime +30 -type f -delete -print 2>&1 | $(logger -t purge_scratch)'
cron_file: purge_scratch

Loading…
Cancel
Save