Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing PHP extensions should spawn so many lock files #552
If a PHP extension is missing (e.g. after PHP update), the correspronding cron jobs fail and keep a
After several attempts, the whole directory is full with files like this:
(for each cron job).
It seems to be intended to keep the lock if a job fails, but the test if the lock exists should be moved as early as possible - that is before the PHP module checks. That way, we only get one lock file to clean up.
lock files are being checked, see https://github.com/Froxlor/Froxlor/blob/master/lib/cron_init.php#L105