Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.68k stars 511 forks source link

Built In Script Scheduler? #6117

Open spanishdexter opened 1 month ago

spanishdexter commented 1 month ago

Is your feature request related to a problem? Please describe. I like the script feature that is built into MeshCentral. But it's missing a schedule system to make scripts auto-execute on devices in a group in certain intervals.

I have tried 3rd party Script-Task plugin to fill in some of the gaps with having scripts put on a regular schedule, but it has some hiccups that don't make it a permanent solution and some bugs (such as filling the Mesh Agent folder on the endpoint with copies of old scripts it never cleans up and when a new machine is added to a device group it is left out of the schedule and has to be manually added).

Describe the solution you'd like I would like the built in native scripting system in MeshCentral to have a feature to schedule the scripts to run on a device group or groups of ones choosing, on a schedule. And any new devices added to that group will automatically fall under that schedule for the script in question as long as they are a member of the target group (remove them from the schedule if no longer a member). If possible, the devices would also receive a copy of the script and schedule cached in a folder somewhere so that it can run even when communication with the MeshCentral server is unavailable (if any changes are made on the server end, it gets updated or removed, if the script schedule is removed).

Describe alternatives you've considered The only alternative I could think of is to run another agent-based endpoint management solution on the machine to schedule scripts in this manner, it would be nice if there was one less agent to install on an endpoint for this type of functionality, if the Mesh Agent can perform this task on it's own.