Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix autocleaner #424

Merged
merged 2 commits into from
Mar 4, 2021
Merged

Fix autocleaner #424

merged 2 commits into from
Mar 4, 2021

Commits on Mar 4, 2021

  1. specify full path for exportfs

    The autocleaner.py is executed by cron which sets path to
    PATH=/usr/bin:/bin. As exportfs is in /usr/sbin it must have full path
    specified, otherwise the script is crashing and fails to clean up old
    jobs directories
    
    Fixes freeipa#422
    sorlov-rh committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    96879fa View commit details
    Browse the repository at this point in the history
  2. Do not delete all jobs dirs.

    The condition was always true because file mtime is less then current time
    and "mtime - now" is negative.
    sorlov-rh committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    00d5020 View commit details
    Browse the repository at this point in the history