diff options
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 65f0855..8b73956 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -26,6 +26,9 @@ trap ctrl_c 2 /bin/touch "$LOCKFILE" +#adjust the nice level to run at a lower priority +/usr/bin/renice +10 -p $$ > /dev/null + for repo in $repos; do for arch in $arches; do $(dirname $0)/../misc-scripts/ftpdir-cleanup $repo $arch |