alirz1

power on and shutdown script/tasks

Recommended Posts

Hello,

 

As you know you can already create power ON and power off scheduled tasks in DSM. However there is no monthly task option available for that.

Im looking to create either a script or to manually call that poweron and shutdown task created by DSM on a monthly basis. Does someone know how i can accomplish this or how does DSM power itself on and OFF so that i can perhaps call those methods?

 

Thanks

Share this post


Link to post
Share on other sites

So a find..

 

The power tasks seems to be written in /etc/power_sched.conf .However it seems to be written in EPOC time format or something. Not sure how i can use this.

 

Example:

cat /etc/power_sched.conf

 

[Power On schedule]

16845056

16910848

[Power Off schedule]

20971776

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.