User:Magick777/My N900 Scheduling

Contents

What do I need to schedule

Backups

  • Regular backups to be scheduled from alarmed at such time as I have a suitable backup script.

Maintenance

  • Perform any software or network updates that may be required
  • Reset GPRS data counters monthly (done via Alarmed)

Profiles

  • Minimise annoyances overnight (but allow alarms to work)
    • Turn off e-mail checking & notifications overnight

Optimisations

  • Power management - maximise battery life opportunistically
    • force 2G mode when phone is in pocket/not being actively used
  • Perform updates when on WLAN to minimise transfer via GPRS

Criteria for scheduling events

Time-based scheduling

Certain actions need to be scheduled according to time of day, week or month, i.e. as per the scheduling behaviour of the Unix cron daemon. There seem to be two viable ways of achieving this, via fcron and Alarmed. The [fcron] page is well-written and useful, but I think Alarmed is the better tool for the job, partly on the strength of the GUI and partly because it uses an existing daemon rather than adding another one.

Phone status & event scheduling

Charger plugged in / removed

Device locked / unlocked

Display on / off

Specific WLAN connected / disconnected

Calendar-based scheduling

Location-based scheduling

  • When not at home, turn WiFi off unless and until explicitly requested
  • When at home, turn WiFi on and autoconnect

Changelog for scheduled events

This will be moved to the bottom of the page later.

2010-07-15

  • Installed 'alarmed' from extras-devel, had to ln -sf python2.5 to /usr/bin/python
  • Configured alarmed to reset GPRS data at 0000 on 1st of each month