Reply
Thread Tools
Posts: 123 | Thanked: 74 times | Joined on Nov 2009
#1
Hello,
is there an app to shutdown the n900 e.g. at night time automatically?
This would be very nice together with sleeper (listen to music and let the phone shutdown at a certain time)

sunny
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#2
i don't know any app which would do that.... but you could write a small script which does it for you
 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#3
If you now anything about programming or at least writing (shell) scripts, you can quickly put something together by yourself.
If not, I would suggest adding [request] to your subject to get someone to do it for you.

Is there anyone else interested in such functionality?
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 

The Following User Says Thank You to hopbeat For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#4
"halt" (without the ") should shutdown the device, so get a scheduler and type the command in it, then set the device to run the command at a certain time.
E.g
Code:
#!/bin/sh
halt
Very simple and short script, place it somewhere and chmod +x it, then add it to something like Fcron.

Last edited by MohammadAG; 2010-03-21 at 21:25.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#5
tried it with the app "alarmed" but it doesn't seem to do anything o.O
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#6
Originally Posted by b666m View Post
tried it with the app "alarmed" but it doesn't seem to do anything o.O
halt requires superusers privs.
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#7
Originally Posted by MohammadAG View Post
halt requires superusers privs.
i thought so...
... and i tried some ways to run it with su privs...
... but nothing worked.

so... could you tell me how to make it using su privs without editing the sudoers file? please. ^^
 
Posts: 286 | Thanked: 100 times | Joined on Dec 2009 @ down south
#8
would love lttle app like this...would it be possible to work off internal clock...maybe come back on after so long etc?
 
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#9
The widget "sleeper" stops media playback after a certain time. I use it all the time and it works pretty well. It doesn't shut the phone down, though, if that's what you really want.
 
amorek13's Avatar
Posts: 245 | Thanked: 32 times | Joined on Oct 2009 @ CT USA
#10
there is a app called auto disconect maybe you can write to the guy see if he can implement it

Last edited by amorek13; 2010-03-22 at 02:01.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:36.