![]() |
Smart mail checking alarmd script
Smart mail checking alarmd script
This is a fairly simple script that will sync your email. It can be set to run hourly etc. with crom/alarmd etc. The thng that makes this script special is that it will put your wifi back to the way it is when it is run. For example there are 3 possibilities. 1. wifi is already connected, 2 wifi kernel modules loaded, kernel modules not loaded. This script will detect one of the three possibilities, take appropriate action (load modules, connect etc) then return your wifi back to it's original setting (unloaded, not connect, connected). It can be run with: Code:
echo "/path/to/script.sh" | sudo gainroot | echo "" Code:
#!/bin/sh Seems to work! |
Re: Smart mail checking alarmd script
Hello,
can you please advice where can i locate the modest.conf file? I was able to find one modest.conf file under Quote:
Quote:
Thank you -Michal. |
Re: Smart mail checking alarmd script
modest config is stored in that POS gconf:
Code:
gconftool-2 -R /apps/modest | less |
Re: Smart mail checking alarmd script
thanks a lot kureyon,
just in case, here is what i did, with my comments; as i used gconftool-2 for the first time: i've checked the update_interval value Quote:
Quote:
Quote:
Quote:
modest is now responsive to the dbus calls, as adviced -M. |
Re: Smart mail checking alarmd script
Quote:
|
Re: Smart mail checking alarmd script
is this anything close to imap idle? can you set it to check every minute or would it tax the n900 too much?
|
Re: Smart mail checking alarmd script
You could set it to check every minute however Modest is such ball smoking crap you would probably be issuing multiple email syncs at once.
|
All times are GMT. The time now is 22:47. |
vBulletin® Version 3.8.8