You can use this simple yet powerful tool to schedule just about anything at anytime. You can schedule:
- profiles
- backup scripts
- resetting the GPRS counter every month
- disconnection and connection of mobile network or internet
- 3G/2G/Dual radio modes
- NTP update
- email notify/refresh
- brightness level
- locking
- rebooting
- your own scripts
- ...
The wiki entry covers why is using fcron the best way for scheduling events, installation and configuration guide and some scripts.
The sample configuration file in the wiki has been updated with a very important function and whoever did already set fcron up should re-configure it (the difference is that in the new sample config GPRS counter reset is also performed on the next boot if the phone was off at 00:00 or whenever did you set it up).
Can you provide a sample if I wanted to:
- turn off internet (but keep phone) at 01:00 and turn back on at 07:00 (thus allowing any IM's to be received)
I couldnt figure out how to reconnect, I tried:
dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:false
disconnect script is in the fcron wiki (but I think you got it right)
connect script is wrong, because you have to specify what should phone connect to, you can't just type a command connect and expect that phone will know to which connection
disconnect script is in the fcron wiki (but I think you got it right)
connect script is wrong, because you have to specify what should phone connect to, you can't just type a command connect and expect that phone will know to which connection
also check out Phone control wiki page extensively, because it also contains dbus calls to control IM...
Unfortunately (no fault of fcron), the disconnect at 1am would eventually be re-connected by the OS if you have "automatically switch to wifi". Any other way to disable IM's during bedtime but still allow phone calls (possible emergencies)?
Unfortunately (no fault of fcron), the disconnect at 1am would eventually be re-connected by the OS if you have "automatically switch to wifi". Any other way to disable IM's during bedtime but still allow phone calls (possible emergencies)?
Use a Tweakr profile for night: turn volume down for email, im, sms, etc and leave ringer volume up.
Then you just need to run a script to switch your profile at night and in the morning.