[GH-ISSUE #604] After creating a task in Automation Manager, it is not assigned to agents. #2326

Closed
opened 2026-03-14 03:35:06 +03:00 by kerem · 5 comments
Owner

Originally created by @cm-slu on GitHub (Jun 29, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/604

Server Info (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: chrome
  • RMM Version: 0.7.1

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): 1.5.9

Describe the bug
When creating a task in automation manager which is executed following a script error, it is not assigned to the agents.
Whereas if I create the same task with a manual trigger, it is indeed assigned to the agents.

To Reproduce
For reproduce look this video
https://drive.google.com/file/d/1KIgDwCZ24Ah0I3_YBRh-UgW3UzNY46J_/view?usp=sharing

below is the download link of the script I want to run
https://drive.google.com/file/d/1Y2vHLkT5j4nIICw_4lo3gQgZGFCa9Szm/view?usp=sharing
Additional context
I want to run a task when the "Disk space check" is in error

Originally created by @cm-slu on GitHub (Jun 29, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/604 **Server Info (please complete the following information):** - OS: Ubuntu 20.04 - Browser: chrome - RMM Version: 0.7.1 **Installation Method:** - [X] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): 1.5.9 **Describe the bug** When creating a task in automation manager which is executed following a script error, it is not assigned to the agents. Whereas if I create the same task with a manual trigger, it is indeed assigned to the agents. **To Reproduce** For reproduce look this video https://drive.google.com/file/d/1KIgDwCZ24Ah0I3_YBRh-UgW3UzNY46J_/view?usp=sharing below is the download link of the script I want to run https://drive.google.com/file/d/1Y2vHLkT5j4nIICw_4lo3gQgZGFCa9Szm/view?usp=sharing **Additional context** I want to run a task when the "Disk space check" is in error
kerem closed this issue 2026-03-14 03:35:11 +03:00
Author
Owner

@wh1te909 commented on GitHub (Jun 29, 2021):

thanks we need to see more settings though
where is the policy applied? client, site, or thru agent? any exclusions?
please show process of creating a new policy from the beginning
so start by creating a brand new policy

<!-- gh-comment-id:870704415 --> @wh1te909 commented on GitHub (Jun 29, 2021): thanks we need to see more settings though where is the policy applied? client, site, or thru agent? any exclusions? please show process of creating a new policy from the beginning so start by creating a brand new policy
Author
Owner

@cm-slu commented on GitHub (Jun 29, 2021):

where is the policy applied?
Client (no exclusion)

my policy is recent. It was created a few days ago
I just created a new test font and it works.

Do I still have to delete my policy?
It's a lot of work.

<!-- gh-comment-id:870711092 --> @cm-slu commented on GitHub (Jun 29, 2021): where is the policy applied? Client (no exclusion) my policy is recent. It was created a few days ago I just created a new test font and it works. Do I still have to delete my policy? It's a lot of work.
Author
Owner

@wh1te909 commented on GitHub (Jun 29, 2021):

no need to delete. ok thanks let me try to reproduce

<!-- gh-comment-id:870727007 --> @wh1te909 commented on GitHub (Jun 29, 2021): no need to delete. ok thanks let me try to reproduce
Author
Owner

@cm-slu commented on GitHub (Jun 29, 2021):

ok good news lol.

if you need more trace of debug or other tell me no problem.

I think the reproduction on your side will be complicated as when I create a new policy it works. It has to be in my context.

<!-- gh-comment-id:870728259 --> @cm-slu commented on GitHub (Jun 29, 2021): ok good news lol. if you need more trace of debug or other tell me no problem. I think the reproduction on your side will be complicated as when I create a new policy it works. It has to be in my context.
Author
Owner

@silversword411 commented on GitHub (Sep 21, 2021):

I think there was a fix about policies not applying. If still a problem please provide further info and we'll reopen.

<!-- gh-comment-id:923908881 --> @silversword411 commented on GitHub (Sep 21, 2021): I think there was a fix about policies not applying. If still a problem please provide further info and we'll reopen.
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#2326
No description provided.