# How to add the default task ‘Cleanup service’

## post by tofsaf on Feb 14, 2024

Hi,

we inadvertently deleted the “Cleanup service” task aka “Admin - Cleanup repositories using their associated policies”

how can we recreate it?

Thanks

## post by mfrost on Feb 14, 2024

Hi [@tofsaf](https://community.sonatype.com/u/tofsaf) - welcome! I believe you just need to do a server restart (per this Help doc: [Cleanup Policies](https://help.sonatype.com/en/cleanup-policies.html?_ga=2.102881600.1799868652.1707749305-1226582745.1698774557#cleanup-task-162040))

## post by tofsaf on Feb 16, 2024

It is so simple

Thanks !

### New & Unread Topics

| Topic | Replies | Views | Activity |
| --- | --- | --- | --- |
| [NuGet package publishing using API key](https://community.sonatype.com/t/nuget-package-publishing-using-api-key/15367) | [3](https://community.sonatype.com/t/nuget-package-publishing-using-api-key/15367/1) | 314 | [Aug 2025](https://community.sonatype.com/t/nuget-package-publishing-using-api-key/15367/4) |
| [Can’t downgrade from Nexus Pro to Nexus OOS in 3.83.0](https://community.sonatype.com/t/cant-downgrade-from-nexus-pro-to-nexus-oos-in-3-83-0) | [1](https://community.sonatype.com/t/cant-downgrade-from-nexus-pro-to-nexus-oos-in-3-83-0/15441/1) | 183 | [Aug 2025](https://community.sonatype.com/t/cant-downgrade-from-nexus-pro-to-nexus-oos-in-3-83-0/15441/2) |
| [Nexus 3.69 OSS - does going over the daily requests threshold cause slowness?](https://community.sonatype.com/t/nexus-3-69-oss-does-going-over-the-daily-requests-threshold-cause-slowness) | [0](https://community.sonatype.com/t/nexus-3-69-oss-does-going-over-the-daily-requests-threshold-cause-slowness/15513/1) | 75 | [Sep 2025](https://community.sonatype.com/t/nexus-3-69-oss-does-going-over-the-daily-requests-threshold-cause-slowness/15513/1) |
| [Custom Auth Plugin Supports Basic Auth but Not Bearer Token (Realm Not Invoked for Bearer Tokens)](https://community.sonatype.com/t/custom-auth-plugin-supports-basic-auth-but-not-bearer-token-realm-not-invoked-for-bearer-tokens) | [0](https://community.sonatype.com/t/custom-auth-plugin-supports-basic-auth-but-not-bearer-token-realm-not-invoked-for-bearer-tokens/15610/1) | 57 | [Sep 2025](https://community.sonatype.com/t/custom-auth-plugin-supports-basic-auth-but-not-bearer-token-realm-not-invoked-for-bearer-tokens/15610/1) |
| [Failed to make connection to backend after upgrade to nexus 3.78.2](https://community.sonatype.com/t/failed-to-make-connection-to-backend-after-upgrade-to-nexus-3-78-2) | [1](https://community.sonatype.com/t/failed-to-make-connection-to-backend-after-upgrade-to-nexus-3-78-2/15348/1) | 180 | [Oct 2025](https://community.sonatype.com/t/failed-to-make-connection-to-backend-after-upgrade-to-nexus-3-78-2/15348/2) |
