But , seems it not helps:
| jvm 1 | 2017-07-11 16:19:32,787+0200 INFO [pxpool-1-thread-5] admin org.sonatype.nexus.maven.tasks.UnusedSnapshotRemoverTask - Scheduled task (Cleanup Unused Snapshots) started :: Removing unused snapshots from repository Snapshots |
| jvm 1 | 2017-07-12 12:32:29,326+0200 INFO [pxpool-1-thread-5] admin org.sonatype.nexus.maven.tasks.UnusedSnapshotRemoverTask - Scheduled task (Cleanup Unused Snapshots) finished :: Removing unused snapshots from repository Snapshots (started 2017-07-11T16:19:32+02:00, runtime 20:12:56.538) |
| jvm 1 | 2017-07-12 12:32:37,767+0200 INFO [pxpool-1-thread-7] admin org.sonatype.nexus.tasks.EmptyTrashTask - Scheduled task (Empty Snapshot Trash) started :: Emptying Trash. |
| jvm 1 | 2017-07-12 12:37:18,890+0200 INFO [pxpool-1-thread-7] admin org.sonatype.nexus.tasks.EmptyTrashTask - Scheduled task (Empty Snapshot Trash) finished :: Emptying Trash. (started 2017-07-12T12:32:37+02:00, runtime 0:04:41.122) |
After 20 hours task was finished, and nothing was changed:
| root@vmnexus01:~# ll /opt/nexus-repositories/storage/snapshots/xxx/xxx/xxx-api/ |
| total 900 |
| drwxr-xr-x 14 nexus nexus 8192 Jul 12 16:02 . |
| drwxr-xr-x 73 nexus nexus 20480 Jul 12 12:32 .. |
| drwxr-xr-x 2 nexus nexus 8192 Apr 18 2016 1.0.26-SNAPSHOT |
snapshots from April still there, even after
| Scheduled task (Empty Snapshot Trash) finished |
Can anyone here explain me, please - how we can figure out with it ?
The current setup of scheduled task is:

Our current version it Sonatype Nexus™ 2.11.2-06
Thanks in advance!
| drwxr-xr-x 2 nexus nexus 8192 Apr 18 2016 1.0.26-SNAPSHOT |
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/c74a5384-7424-4a30-a1fb-6afcf61cf853%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/12fdf447-412e-4b5e-b8eb-40e9f19c2862%40glists.sonatype.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/17e72400-5cf0-4f17-af9f-f8a5b07e5201%40glists.sonatype.com.
Do you know, is it possible to change Cleanup Unused Snapshots logic to use something like time, when artefact was last time downloaded?
And another question - may be you have any ideas why such task took so much time:
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a0ced0d7-5a8a-4bb3-b88a-a04cda07d471%40glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CALX_hVzCKGMi_tPjZ%3Dj76pCHSuG_YO0qXKmYbxcJkfzKKTaAuw%40mail.gmail.com.