Skip to content

daily cron runs overlap #373

@jnorell

Description

@jnorell

The scan from the daily cron job should use a lock file so only one instance runs at a time.

We have one web server with enough files being scanned by the daily cron run that it sometimes doesn't complete within 24 hours, and the next day's cron job kicks off and starts another overlapping scan job - from there, things just go downhill, as the surely won't complete in a day, etc. ... after a while it'll be sluggish and I'll find 4 or 5 simulatneous scans running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions