Active Topics

 



Notices


Reply
Thread Tools
Posts: 600 | Thanked: 724 times | Joined on Mar 2011 @ Nantes, France
#1
I'm looking for the commands to setup some cron jobs in order to put my phone in plane mode at night.

Any idea? Thanks.
 

The Following User Says Thank You to romu For This Useful Post:
coderus's Avatar
Posts: 6,153 | Thanked: 11,645 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#2
Code:
dbus-send --print-reply --system --dest=net.connman / net.connman.Manager.SetProperty string:OfflineMode variant:boolean:true
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Posts: 600 | Thanked: 724 times | Joined on Mar 2011 @ Nantes, France
#3
Originally Posted by coderus View Post
Code:
dbus-send --print-reply --system --dest=net.connman / net.connman.Manager.SetProperty string:OfflineMode variant:boolean:true
Great, thanks. And so I guess :

Code:
dbus-send --print-reply --system --dest=net.connman / net.connman.Manager.SetProperty string:OfflineMode variant:boolean:false
...to bring back the connections. Right?
 

The Following 3 Users Say Thank You to romu For This Useful Post:
coderus's Avatar
Posts: 6,153 | Thanked: 11,645 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#4
this is correct!
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:18.