This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
spool_tips [2010/11/24 12:36] daniel created |
spool_tips [2011/01/27 19:37] daniel |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Format of filenames ====== | ====== Format of filenames ====== | ||
- | manitou-spool uses ''date "+%Y%m%d-%H%M%S"`"-$$'' as the variable part for mail filenames. | + | manitou-spool uses the result of: |
- | $$ denotes the Unix pid and has the property of being unique at any particular time. It's used here to avoid name clashes for files created within the same second. | + | <code bash>date "+%Y%m%d-%H%M%S"`"-$$</code> as the variable part for mail filenames. |
+ | $$ denotes the Unix pid and has the property of being unique at any particular time. It is used in this case to avoid name clashes for files created within the same second. | ||
The full name is ''mail-<datetime-spec>-<pid>.received'' for files that have not been processed yet, and ''mail-<datetime-spec>-<pid>.processed'' for files that have been processed, where <datetime-spec> is YYYYMMDD-HHMMSS. | The full name is ''mail-<datetime-spec>-<pid>.received'' for files that have not been processed yet, and ''mail-<datetime-spec>-<pid>.processed'' for files that have been processed, where <datetime-spec> is YYYYMMDD-HHMMSS. | ||