[systemd-devel] Feature request: schedule jobs for last day of month
Larry Baker
baker at usgs.gov
Mon Feb 4 16:44:12 PST 2013
On 4 Feb 2013, at 4:20 PM, Zbigniew Jędrzejewski-Szmek wrote:
>> Suggestions what we could do instead?
>>
>> "2012-02-:4" maybe?
>>
>> "2012-02-~4"?
> This one looks nice.
What about "2012-02~4" (leave off the "-")? Thus, "-" implies day (days from the start) of the month, "~" implies days from the end of the month.
Should both notations have the same "1" base? That is, "*-*-1" is the first day of the month. Is "*-*~1" the last day of the month? Or, is "~" a delta, so that "*-*~0" is the last day of the month?
Another solution is to have a "delta" notation: "date-time"+-"delta-time". "*-1-1"-"1:00" would mean 23:00 hours on 12/31 of every year. Likewise, 6 pm the last day of each month would be "*-*-1"-"6:00".
>> "2012-02-^4"?
>>
>> "2012-02-$4"?
>>
>> Other suggestions?
>>
>> Lennart
>
> Zbyszek
Larry Baker
US Geological Survey
650-329-5608
baker at usgs.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130204/25385618/attachment-0001.html>
More information about the systemd-devel
mailing list