User Tools

Site Tools


spool_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
spool_tips [2010/11/24 12:37]
daniel
spool_tips [2011/01/27 19:37]
daniel
Line 2: Line 2:
 manitou-spool uses the result of: manitou-spool uses the result of:
 <code bash>​date "​+%Y%m%d-%H%M%S"​`"​-$$</​code>​ as the variable part for mail filenames. <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'​s ​used here to avoid name clashes for files created within the same second.+$$ 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.
  
spool_tips.txt ยท Last modified: 2011/01/27 19:37 by daniel