Automatically Shutdown of Sailfish OS?
Is there any way to configure Sailfish OS to shut down every day at a certain time? Or is any app existing, which is doing that?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Is there any way to configure Sailfish OS to shut down every day at a certain time? Or is any app existing, which is doing that?
@wmcig At the moment you can utilize recurring alarms with shutdown command line action - running something like this as nemo user (i.e. not root) should do it:
timedclient-qt5 -a 'whenDue;runCommand=/usr/sbin/dsmetool --shutdown' -r 'hour=9;minute=11;everyMonth;everyDayOfMonth;everyDayOfWeek' -e APPLICATION=autoshutdown
When/if you want to remove such alarms, it can be done for example like this:
for cookie in $(timedclient-qt5 -s 'APPLICATION=autoshutdown'); do timedclient-qt5 -c $cookie; done
Is there an equivalent available that boot your phone at a given time?
Dylan Van Assche ( 2017-06-09 11:27:11 +0300 )editNot really. I mean you can use alarms to make the device boot to act dead (similarly as clock alarms power up the device to show the alarm), but that is probably not what one would want to do.
In ancestral Nokia devices up to N900 it was possible to schedule an alarm that would boot the device up to ui (mostly for automated system testing purposes), but the current sw stack is missing some bits and pieces required by that.
Somewhat related: https://together.jolla.com/question/28517/turn-on-jolla-from-the-alarm/
spiiroin ( 2017-06-09 17:48:24 +0300 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2017-06-09 08:04:59 +0300
Seen: 551 times
Last updated: Jun 09 '17
I want a hardware keyboard with solar charger TOH [answered]
Markdown basics [not relevant]
Prevent accidental shutdown [answered]
A dual sim with TOH [not relevant]
Jolla applications should be preinstalled with a new device [not relevant]
iCloude or Skydrive type services on Jolla
Fixed sorting of application covers on home screen [released]
[Implemented in 1.0.3.8] After screen time out, return to last active app [released]
Show a number row at the top of the others when entering passwords
Toggle between video and still modes in camera app (faster than now) [released]
you can use https://openrepos.net/content/ade/sailcron to do that
atlochowski ( 2017-06-09 09:24:34 +0300 )edit