Features/SystemdCalendarTimers

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Created page with "{{admon/important | Set a Page Watch| Make sure you click ''watch'' on your new page so that you are notified of changes to it by others, including the Feature Wrangler}} = s...")
 
(Feature accepted on Feb 06 FESCo meeting)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{admon/important | Set a Page Watch| Make sure you click ''watch'' on your new page so that you are notified of changes to it by others, including the Feature Wrangler}}
 
 
 
= systemd Calendar Timers =
 
= systemd Calendar Timers =
  
Line 16: Line 14:
  
 
== Detailed Description ==
 
== Detailed Description ==
In timer units you may now use OnCalendar= to express a calendar time event. The syntax is quite flexible and in some ways more powerful than cron's (and certainly more readable). For a more detailed discussion of the syntax [[http://www.freedesktop.org/software/systemd/man/systemd.time.html|see the documentation]].
+
In timer units you may now use OnCalendar= to express a calendar time event. The syntax is quite flexible and in some ways more powerful than cron's (and certainly more readable). For a more detailed discussion of the syntax [http://www.freedesktop.org/software/systemd/man/systemd.time.html see the documentation].
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Line 37: Line 35:
  
 
== Documentation ==
 
== Documentation ==
http://www.freedesktop.org/software/systemd/man/systemd.time.html
+
* http://www.freedesktop.org/software/systemd/man/systemd.time.html
http://www.freedesktop.org/software/systemd/man/systemd.timer.html
+
* http://www.freedesktop.org/software/systemd/man/systemd.timer.html
  
 
== Release Notes ==
 
== Release Notes ==
No need for additions.
+
It should be enough to just announce availability of this feature, plus a paste from the Summary section of this feature page, plus maybe a reference to the the docs for this.
  
 
== Comments and Discussion ==
 
== Comments and Discussion ==
 
* See [[Talk:Features/SystemdCalendarTimers]]
 
* See [[Talk:Features/SystemdCalendarTimers]]
  
[[Category:FeaturePageIncomplete]]
+
[[Category:FeatureAcceptedF19]]
<!-- When your feature page is completed and ready for review -->
+
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
+
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
+
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
+

Latest revision as of 14:36, 8 February 2013

Contents

[edit] systemd Calendar Timers

[edit] Summary

systemd has supported timer units for activating services based on time since its inception. However, it only could schedule services based on monotonic time events (i.e. "every 5 minutes"). With this feature in place systemd also supports calendar time events (i.e. "every monday morning 6:00 am", or "at midnight on every 1st, 2nd, 3rd of each month if that's saturday or sunday").

[edit] Owner

[edit] Current status

  • Targeted release: Fedora 19
  • Last updated: 2012-01-17
  • Percentage of completion: 100%

[edit] Detailed Description

In timer units you may now use OnCalendar= to express a calendar time event. The syntax is quite flexible and in some ways more powerful than cron's (and certainly more readable). For a more detailed discussion of the syntax see the documentation.

[edit] Benefit to Fedora

A powerful way to trigger systemd services on calendar time.

[edit] Scope

Only needs changes in systemd upstream.

[edit] How To Test

Write a calendar time event unit and run it. See if it activates!

[edit] User Experience

Nothing really changes. It's a feature for people who want to schedule services based on calendar time events, nobody else will even notice.

[edit] Dependencies

Nothing.

[edit] Contingency Plan

Nothing. It doesn't affect anybody who doesn't use this.

[edit] Documentation

[edit] Release Notes

It should be enough to just announce availability of this feature, plus a paste from the Summary section of this feature page, plus maybe a reference to the the docs for this.

[edit] Comments and Discussion