diff options
-rwxr-xr-x | acid/acid | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -80,8 +80,15 @@ remove() { removed=$(printf '%s\n' "$next" "$next" "$prev" | sort | uniq -u) for name in $removed; do - acid-remove "$name" - echo "Removed $name" + job=$(make_log "$NULL_HASH" "remove" "$name") + log="$CYCHE_LOG_DIR/$job/log" + + echo "$job" >"$CYCHE_STATUS_FILE" + echo "Removing $name" + + acid-remove "$name" >"$log" 2>&1 + + echo "maint" >"$CYCHE_STATUS_FILE" sleep "$CYCHE_JOB_TIME" done } |