User:Magick777/My N900 Scheduling

(What do I need to schedule)
(What do I need to schedule)
Line 7: Line 7:
== Backups ==
== Backups ==
-
 
+
* Regular backups to be scheduled from alarmed at such time as I have a suitable backup script.
-
* Regular backups can be scheduled from alarmed at such time as I have a suitable backup script.
+
== Maintenance ==
== Maintenance ==
-
 
+
* Reset GPRS data counters, monthly (done via Alarmed)
-
* Reset data counters, monthly (done via Alarmed)
+
Line 18: Line 16:
== Optimisations ==
== Optimisations ==
 +
* Power management - maximise battery life (opportunistically)
= Criteria for scheduling events =
= Criteria for scheduling events =

Revision as of 01:45, 16 July 2010

Contents

Approaches to scheduling

fcron

alarmed

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

  • Reset GPRS data counters, monthly (done via Alarmed)


Profiles

Optimisations

  • Power management - maximise battery life (opportunistically)

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

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