don't try to delete the logs directory
without this, the logs/ directory was found as old and this cronjob would try to delete it over and over again, generating spurious emails
This commit is contained in:
parent
750822ff9c
commit
d15a16ef23
|
@ -17,4 +17,4 @@ done
|
||||||
stop_if_jobs_locked
|
stop_if_jobs_locked
|
||||||
|
|
||||||
# ALTERNC_LOGS is from local.sh
|
# ALTERNC_LOGS is from local.sh
|
||||||
find "$ALTERNC_LOGS" -mtime +$DAYS -delete
|
find "$ALTERNC_LOGS" -type f -mtime +$DAYS -delete
|
||||||
|
|
Loading…
Reference in New Issue