GSoC week 4: Timer Playground App

Harish Anand
2 min readJun 20, 2016

This week’s work was on creating the display of all loaded timers in the playground app. Also we can give calendar dates as input to set the timer run time .

Here are the list of options available in the timer app right now.

Main page : Displays all loaded timers and static timers

Currently the timer playground app don’t posses an option to start, restart or reload timers. It only displays currently available timers. The option to start, restart or reload is available in services/timer tab.

New Options available in Timer Creation

Repeat monthly:

It now displays errors in the input as well.

Service file contents:

[Unit]
Description=test
[Service]
Type=oneshot
ExecStart=/usr/bin/sh -c ‘/usr/bin/date >> /tmp/date’

Timer file contents with minute 63 corrected to 40 is as follows:

[Unit]
Description=test
[Timer]
OnCalendar=*-*-3,2,15 12,13,14:20,30,40:00

Repeat yearly:

Similar to repeat monthly option, repeat yearly option can let users selected specific calendar dates and time as input and create a timer file. Few more CSS work is required in this.

Service file contents:

[Unit]
Description=test
[Service]
Type=oneshot
ExecStart=/usr/bin/sh -c ‘/usr/bin/date >> /tmp/date’

Timer file contents:

[Unit]
Description=test
[Timer]
OnCalendar=2016–06–07,22 0:0:00

Other options sreenshots are available here : https://medium.com/@harishanand95/gsoc-week-3-creation-of-timer-playground-app-563789d8c1f3#.dyxs2dm3r

--

--