I am looking to solve a problem, this is before hand the context:
My company manage with PulseWay a few dozens Windows 11 Pro computers.
We host for them a Nextcloud server and we wanted to force a scheduled task to run Nextcloud Desktop App only if it was not detected as running for an active session, every 5 minutes.
We made a PowerShell script doing just that, once executed on an host it does install this scheduled task and so far in works as expected.
---
Now my issue is the following: How could I use PulseWay to detect if this scheduled task is installed and active on a sets of computers? If not, executing the said script automatically (available on PulseWay of course). While being, for example, executed every X hours or at each computer starting an active session, maybe?
I saw you can schedule task in PulseWay but I am kind of lost on how it is supposed to work.
The blocking options to me are:
- Enabled: Obvious feature, but if it (the task) created while this is enabled, it will then do execute as required with the set scheduling as soon as it become true, right? This sounds dangerous if you are not 100% sure. Of course test will be made first hand, but that is something to considerate I guess.
- Current Scope: It seems to define from what type of OS the target has (Windows 11/10, all Windows, 2012 Servers, etc). We might want and need to target by customers group for example, not type of Operating System! If I do enable a task here, does it means it will then be executed on ALL devices selected as soon as the scheduling mets the condition?
So, Enabling a task with such a large scope sounds too wild for me until I understand it better.
EDIT: While this message is being approuved by moderation, I found that you could create your own Scope and also select a group in it, which might kind of solve this issue to me. Feel free to add more if you see anything useful.
---
Maybe I am lost in the PulseWay GUI and don’t find what would suits the need.
What would be in this case and with your deeper insight the good road to take please ?
Hello,
I am looking to solve a problem, this is before hand the context:
My company manage with PulseWay a few dozens Windows 11 Pro computers.
We host for them a Nextcloud server and we wanted to force a scheduled task to run Nextcloud Desktop App only if it was not detected as running for an active session, every 5 minutes.
We made a PowerShell script doing just that, once executed on an host it does install this scheduled task and so far in works as expected.
---
Now my issue is the following: How could I use PulseWay to detect if this scheduled task is installed and active on a sets of computers? If not, executing the said script automatically (available on PulseWay of course). While being, for example, executed every X hours or at each computer starting an active session, maybe?
I saw you can schedule task in PulseWay but I am kind of lost on how it is supposed to work.
The blocking options to me are:
- Enabled: Obvious feature, but if it (the task) created while this is enabled, it will then do execute as required with the set scheduling as soon as it become true, right? This sounds dangerous if you are not 100% sure. Of course test will be made first hand, but that is something to considerate I guess.
- Current Scope: It seems to define from what type of OS the target has (Windows 11/10, all Windows, 2012 Servers, etc). We might want and need to target by customers group for example, not type of Operating System! If I do enable a task here, does it means it will then be executed on ALL devices selected as soon as the scheduling mets the condition?
So, Enabling a task with such a large scope sounds too wild for me until I understand it better.
EDIT: While this message is being approuved by moderation, I found that you could create your own Scope and also select a group in it, which might kind of solve this issue to me. Feel free to add more if you see anything useful.
---
Maybe I am lost in the PulseWay GUI and don’t find what would suits the need.
What would be in this case and with your deeper insight the good road to take please ?
PS: Sorry, english isn’t my mother tongue.
Regards,
GASPARD DE RENEFORT Kévin
Edited by Kévin GDR