CLOSED: Auto-shutdown HDA at certain times

AndyBel
Posts: 25
Joined: Thu Mar 26, 2015 1:46 pm

CLOSED: Auto-shutdown HDA at certain times

Postby AndyBel » Sun Sep 27, 2015 3:16 am

Hi

I'm wondering if anyone can help - I've tried to Google this already and can't find an answer (as yet)

I would like my HDA to shut down at a certain time every day. It's connected to a smart-plug was I can set to turn off and on at certain times, and the BIOS is configured to boot-up once power is applied so starting automatically isn't a problem!

I know there is the shutdown command sudo shutdown -h 0.30 (for a 12.30 am shutdown for example) however I have to manually type this every day. Is there a script I can add this code in so it's run at startup for example?

Thanks for any suggestions.

Andy

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Auto-shutdown HDA at certain times

Postby bigfoot65 » Sun Sep 27, 2015 6:40 am

You can set up cron jobs to execute commands at a specific time.

This short introduction to cron jobs should help.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

AndyBel
Posts: 25
Joined: Thu Mar 26, 2015 1:46 pm

Re: Auto-shutdown HDA at certain times

Postby AndyBel » Sun Sep 27, 2015 2:03 pm

Thanks BigFoot - I'll look into that!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Auto-shutdown HDA at certain times

Postby bigfoot65 » Sun Sep 27, 2015 2:06 pm

No problem. Closing this one.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 17 guests