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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now