Files
elab-manage/etc/cron.daily/remove_state_file_48h

7 lines
267 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
## Remove every .state file older than 48h -- Cleanup script if the others arent strong enougth
find /var/run/elab-manage -name "*.state" -type f -mtime +2 -delete