[GH-ISSUE #957] You can delete scripts with active tasks and checks #2523

Closed
opened 2026-03-14 04:20:18 +03:00 by kerem · 1 comment
Owner

Originally created by @silversword411 on GitHub (Jan 27, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/957

Originally assigned to: @sadnub on GitHub.

  1. Create script
  2. Create task and/or check on agent using script
  3. Delete script

It should stop you from deleting script if it's assigned, or going to have problems with tasks later.
Or, even better check: If script in use somewhere give the option to remove from all locations at script deletion time.

Probably need to be able to find where the script is allocated when you do want to delete (like Show Relations in Automation Manager).

Originally created by @silversword411 on GitHub (Jan 27, 2022). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/957 Originally assigned to: @sadnub on GitHub. 1. Create script 2. Create task and/or check on agent using script 3. Delete script It should stop you from deleting script if it's assigned, or going to have problems with tasks later. Or, even better check: If script in use somewhere give the option to remove from all locations at script deletion time. Probably need to be able to find where the script is allocated when you do want to delete (like Show Relations in Automation Manager).
kerem 2026-03-14 04:20:18 +03:00
Author
Owner

@sadnub commented on GitHub (Mar 17, 2022):

Will be fixed in the next release. Check were already being deleted if the script was. Tasks will self-delete the task if it is unable to find it when running now.

<!-- gh-comment-id:1069770854 --> @sadnub commented on GitHub (Mar 17, 2022): Will be fixed in the next release. Check were already being deleted if the script was. Tasks will self-delete the task if it is unable to find it when running now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2523
No description provided.