Skip to content

Add SYNO.Core.Hardware.PowerSchedule support #320

@wpigoury

Description

@wpigoury

Is your feature request related to a problem? Please describe.
I often want to change the automatic power off time on my NAS.
This is handled in the "Hardware & Power > Power Schedule" setting page which relies on SYNO.Core.Hardware.PowerSchedule.
I'm trying to develop a script that would either allow me to set the new time of the task or to enable/disable predefined tasks.

Describe the solution you'd like
Ideal way to do it would be to add support for SYNO.Core.Hardware.PowerSchedule or to add support for "power" type of task in TaskScheduler if even possible.

Describe alternatives you've considered
Since this creates tasks visible and editable in the task scheduler, I tried to use task_set_enable() or any of the modify function, but this always ends in error 4800.

Metadata

Metadata

Assignees

No one assigned

    Labels

    requestimplementation request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions