![]() |
[Announce] fcron wiki entry - schedule anything at anytime
http://wiki.maemo.org/Fcron
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. |
Re: [Announce] fcron wiki entry - schedule anything at anytime
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).
|
Re: [Announce] fcron wiki entry - schedule anything at anytime
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 dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.connect boolean:true Thanks! |
Re: [Announce] fcron wiki entry - schedule anything at anytime
0 1 * * * /disconnect/script
0 7 * * * /connect/script 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 :D the info you need is to be found: http://wiki.maemo.org/Phone_control#...ved_connection also check out Phone control wiki page extensively, because it also contains dbus calls to control IM... |
Re: [Announce] fcron wiki entry - schedule anything at anytime
On the wiki page it says that fcron sleeps between events, does that imply that it doesn't affect the battery life at all?
|
Re: [Announce] fcron wiki entry - schedule anything at anytime
That's right, there is no difference in battery times. I definitely trust fcron more than alarm daemon and a few other Nokia daemons...
|
Re: [Announce] fcron wiki entry - schedule anything at anytime
Quote:
|
Re: [Announce] fcron wiki entry - schedule anything at anytime
disable wlan during the night. scripts are in the wiki.
|
Re: [Announce] fcron wiki entry - schedule anything at anytime
Hi,
I set up fcron according to instructions. Everything looks ok, but nothing happens..:) No errors either.. according to ps, fcron seems to be running and fcrontab -e works I tried to run dbus-send (phone to silent/general mode) scripts manually with run-standalone.sh. Also...nothing happens. What might be wrong? |
Re: [Announce] fcron wiki entry - schedule anything at anytime
Quote:
Then you just need to run a script to switch your profile at night and in the morning. |
| All times are GMT. The time now is 12:05. |
vBulletin® Version 3.8.8