| << Previous | Contents Index | Next >> |
Quantities involving disk space, memory or traffic volumes take 'k', 'm', 'g' and 't' to mean multiply by 1,024, 1,048,576, 1,073,741,824 and 1,099,511,627,776 respectively.
Note that when scheduling, this model is extended so that when the interval is an exact multiple of a day, the interval is treated as days aligned at midnight local time rather than seconds, as seconds truncated to a multiple of 24 hours would result in days aligned at midnight GMT, not midnight local time. Note that this means that when daylight saving starts and ends, a "day" can be 23 or 25 hours (assuming a one hour daylight saving offset). The day number calculation is arranged so that if 7 days is requested, the week starts at midnight Monday morning.
Additionally, if a multiple of 30 days is requested, it is treated as actual calendar months, not intervals of 30 days. That is, an interval of 90 days would indicate periods starting on 1 January, 1 April, 1 July and 1 October.
For example, to output files in the form out-YYYYMMDD-HHMM.dat, one could use out-%Y%m%d-%H%M.dat.
Common time substitution strings include:
| %d | Day of month, zero filled, e.g. 01, 31 |
| %H | Hour of day, zero-filled, e.g. 01, 23. |
| %m | Month of year, zero filled, e.g. 01, 12. |
| %M | Minute of hour, zero-filled, e.g. 00, 59. |
| %y | Two digit, zero-filled year, e.g. 00, 01, 99. |
| %Y | Four digit year, e.g. 1999, 2000. |
| %% | Insert a percent sign. |
For more information, see ref man-strftime strftime(3) format specifiers.
| << Previous | Contents Index | Next >> |