# \#scheduled-task

**URL:** https://community.sonatype.com/tag/scheduled-task/10.md

[Latest](https://community.sonatype.com/latest.md) · [Categories](https://community.sonatype.com/categories.md) · [Tags](https://community.sonatype.com/tags.md)

---

## [Issue with Cleanup Policies: Preview displays artifact but they are not cleaned when the cleanup task run](https://community.sonatype.com/t/issue-with-cleanup-policies-preview-displays-artifact-but-they-are-not-cleaned-when-the-cleanup-task-run/14960)

<div class="topic-metadata">

**Author:** [@anthony](https://community.sonatype.com/u/anthony)\
**Replies:** 20\
**Last updated:** [September 11, 2025, 12:37pm UTC](https://community.sonatype.com/t/issue-with-cleanup-policies-preview-displays-artifact-but-they-are-not-cleaned-when-the-cleanup-task-run/14960 "2025-09-11T12:37:11Z")

</div>

Hello, I have an issue with Nexus Cleanup Policies. I can’t make it work properly. Maybe I’m missing something. General information Nexus version: Community 3.80.0-06 Saturated: No Read-only: No Database: H2 Blobstor…

---

## [Can not stop the scheduled-task](https://community.sonatype.com/t/can-not-stop-the-scheduled-task/13413)

<div class="topic-metadata">

**Author:** [@jiangbaiheng](https://community.sonatype.com/u/jiangbaiheng)\
**Replies:** 3\
**Last updated:** [September 9, 2024, 1:58pm UTC](https://community.sonatype.com/t/can-not-stop-the-scheduled-task/13413 "2024-09-09T13:58:06Z")

</div>

Hello , this scheduled-task can not stop , the log is " admin org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task not cancelable: ‘Cleanup service’ \[repository.cleanup\]" So , if I want to stop this task ,what …

---

## [\[HELP\] Task that can't be removed](https://community.sonatype.com/t/help-task-that-cant-be-removed/12219)

<div class="topic-metadata">

**Author:** [@jesus.fernandez](https://community.sonatype.com/u/jesus.fernandez)\
**Replies:** 1\
**Last updated:** [March 19, 2024, 11:43am UTC](https://community.sonatype.com/t/help-task-that-cant-be-removed/12219 "2024-03-19T11:43:15Z")

</div>

Hi everyone! I’m newbie with Sonatype and its software, but I join to my actual company and found an old Nexus instance and I planned to upgrade, but when I tried to set the task for backup the database (I think is Orien…

---

## [How to create "Compact blob store" Task with API](https://community.sonatype.com/t/how-to-create-compact-blob-store-task-with-api/10753)

<div class="topic-metadata">

**Author:** [@pogacnik](https://community.sonatype.com/u/pogacnik)\
**Replies:** 1\
**Last updated:** [June 22, 2023, 12:23pm UTC](https://community.sonatype.com/t/how-to-create-compact-blob-store-task-with-api/10753 "2023-06-22T12:23:49Z")

</div>

I would like to automate creating and execute Compact blob store task but I can’t find option to do with it with API scripts. I can run and stop task but cannot create it. By default I do not have Compact blob store task…

---

## [Compact blob store task fails with "InvalidPathException: Nul character not allowed"](https://community.sonatype.com/t/compact-blob-store-task-fails-with-invalidpathexception-nul-character-not-allowed/10346)

<div class="topic-metadata">

**Author:** [@a.marcato93](https://community.sonatype.com/u/a.marcato93)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 7:06pm UTC](https://community.sonatype.com/t/compact-blob-store-task-fails-with-invalidpathexception-nul-character-not-allowed/10346 "2023-03-22T19:06:09Z")

</div>

Hi, We are facing this problem scheduling the ‘Admin - compact blob store’ task. We are under 3.37.3-02 Nexus version. It fails at the start with this log file: org.sonatype.nexus.blobstore.api.BlobStoreException: ja…

---

## [Nexus2 and Nexus3 task equivalency](https://community.sonatype.com/t/nexus2-and-nexus3-task-equivalency/9495)

<div class="topic-metadata">

**Author:** [@emiliogonzalez](https://community.sonatype.com/u/emiliogonzalez)\
**Replies:** 2\
**Last updated:** [October 24, 2022, 5:16pm UTC](https://community.sonatype.com/t/nexus2-and-nexus3-task-equivalency/9495 "2022-10-24T17:16:42Z")

</div>

Hi. I need to “move” a given set of scheduled tasks from Nexus2 to Nexus3 and I’ve just realized that some specific types of task in Nexus2 don’t have its translation into Nexus3. Can someone give me some tips? Here’s a…

---

## [Task 'Rebuilding Maven Metadata' execution failure](https://community.sonatype.com/t/task-rebuilding-maven-metadata-execution-failure/8845)

<div class="topic-metadata">

**Author:** [@alberto.benini](https://community.sonatype.com/u/alberto.benini)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 10:46pm UTC](https://community.sonatype.com/t/task-rebuilding-maven-metadata-execution-failure/8845 "2022-09-20T22:46:12Z")

</div>

We use Nexus OSS 3.39.0-01 I have defined a a Task scheduled daily for Rebuild Maven repository metadata. Bu we got the following task execution failure: Task Name: Rebuild Maven repository metadata (maven-metadata.xm…

---

## [How to check task creation date](https://community.sonatype.com/t/how-to-check-task-creation-date/8579)

<div class="topic-metadata">

**Author:** [@sameer29nov](https://community.sonatype.com/u/sameer29nov)\
**Replies:** 2\
**Last updated:** [April 27, 2022, 6:47am UTC](https://community.sonatype.com/t/how-to-check-task-creation-date/8579 "2022-04-27T06:47:55Z")

</div>

Hello There, Is there any way where I can check when and who created task in NRM, Regards, SAM

---

## ["cron-like expression" in backup task](https://community.sonatype.com/t/cron-like-expression-in-backup-task/8153)

<div class="topic-metadata">

**Author:** [@harald.dunkel](https://community.sonatype.com/u/harald.dunkel)\
**Replies:** 1\
**Last updated:** [February 1, 2022, 8:26pm UTC](https://community.sonatype.com/t/cron-like-expression-in-backup-task/8153 "2022-02-01T20:26:20Z")

</div>

I’m trying to configure “0 9,21 \* \* \*” as the time in a daily backup task, but it is not accepted. Even “0 21 \* \* \*”, “0 0 21 \* \* \*” or “0 0 21 \* \* \* \*” are not accepted. Everytime I get an error “Cron expression is inva…

---

## [Nexus3 compact blob store task is running already 3 days](https://community.sonatype.com/t/nexus3-compact-blob-store-task-is-running-already-3-days/7406)

<div class="topic-metadata">

**Author:** [@maik.ebert.paysafe](https://community.sonatype.com/u/maik.ebert.paysafe)\
**Replies:** 3\
**Last updated:** [October 5, 2021, 7:47am UTC](https://community.sonatype.com/t/nexus3-compact-blob-store-task-is-running-already-3-days/7406 "2021-10-05T07:47:35Z")

</div>

Hi, we installed the Nexus3 OSS version. We have 250 GB of disk space for the one and only default blob store. I created now a first cleanup rule and applied it to 2 of our 8 repositories. Then I started the task to …

---

## [Blob stores consuming disk space](https://community.sonatype.com/t/blob-stores-consuming-disk-space/6380)

<div class="topic-metadata">

**Author:** [@scrumrum](https://community.sonatype.com/u/scrumrum)\
**Replies:** 1\
**Last updated:** [April 22, 2021, 4:41pm UTC](https://community.sonatype.com/t/blob-stores-consuming-disk-space/6380 "2021-04-22T16:41:33Z")

</div>

Hi, We recently had diskspace issue on our server and looks like the blob stores are consuming the whole space (1 TB). I was handed over this server very recently and now when I try to set up clean up tasks the blobDele…

---

## [blobDelete task remains in "Cancelling" status and does not accept stop or delete](https://community.sonatype.com/t/blobdelete-task-remains-in-cancelling-status-and-does-not-accept-stop-or-delete/4527)

<div class="topic-metadata">

**Author:** [@tdasai](https://community.sonatype.com/u/tdasai)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 9:25am UTC](https://community.sonatype.com/t/blobdelete-task-remains-in-cancelling-status-and-does-not-accept-stop-or-delete/4527 "2020-07-01T09:25:35Z")

</div>

The blobDelete (type: Admin-Compact blob store) task that runs daily does not work because the status remains “Cancelling” after June 19th. I pressed the STOP button of the task, but the status has not changed. Also, w…

---

## [System availability during Compact Blob Store](https://community.sonatype.com/t/system-availability-during-compact-blob-store/1667)

<div class="topic-metadata">

**Author:** [@eliezerb](https://community.sonatype.com/u/eliezerb)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 5:56pm UTC](https://community.sonatype.com/t/system-availability-during-compact-blob-store/1667 "2019-04-26T17:56:09Z")

</div>

Hi, Are there any implications on system availability while a Compact Blob Store task is running? Thanks, Eliezer

---

## [Reusable Scripts with the Execute Script Scheduled Task](https://community.sonatype.com/t/reusable-scripts-with-the-execute-script-scheduled-task/82)

<div class="topic-metadata">

**Author:** [@mworthington](https://community.sonatype.com/u/mworthington)\
**Replies:** 0\
**Last updated:** [June 1, 2018, 10:33pm UTC](https://community.sonatype.com/t/reusable-scripts-with-the-execute-script-scheduled-task/82 "2018-06-01T22:33:01Z")

</div>

Continuing the discussion from Advanced Use Cases for the Nexus Repository Manager API: One of the lesser known scheduled tasks in Nexus Repository Manager 3 is the “Execute Script”. This utilizes the same API as the gr…
