# Nexus clean up job scheduling

**URL:** <https://community.sonatype.com/t/nexus-clean-up-job-scheduling/4750>\
**Category:** Sonatype Nexus Repository\
**Created:** [August 18, 2020, 6:32pm UTC](https://community.sonatype.com/t/nexus-clean-up-job-scheduling/4750 "2020-08-18T18:32:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajnish.pandey](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rajnish.pandey](https://community.sonatype.com/u/rajnish.pandey)\
**Post date:** [August 18, 2020, 6:32pm UTC](https://community.sonatype.com/t/nexus-clean-up-job-scheduling/4750/1 "2020-08-18T18:32:47Z")

</div>

Hi,

I have implemented remove snapshots repository task to clear space . I have set up minimum snapshot count as 5 and days retention is 30 days. but remove snapshots task is deleting all the artifacts from snapshot not older than 30 days artifacts. Could you please help me how can we schedule remove snapshot task to not delete latest 30 days artifacts.
