title: Alfresco cron syntax: difference between 0/2 and */2?
body: <p>Alfresco has a cron-like system that allows you to run a job at regular intervals. <a href="http://docs.alfresco.com/5.2/references/dev-extension-points-scheduled-jobs.html" rel="nofollow noreferrer">The documentation</a> specifies as an example the expression <code>0 0/2 * * * ?</code> which will make the job run every 2 minutes. However, in a lot of code I see people using the expression <code>0 */2 * * * ?</code> instead, the difference being that the zero is replaced by an asterisk. This syntax is more similar to the <a href="https://en.wikipedia.org/wiki/Cron#Non-Standard_Characters" rel="nofollow noreferrer">syntax found in some Unix implementations of cron</a>, but I don't think I can blindly assume they work the same (Alfresco's syntax has a <em>seconds</em> field that Unix syntax lacks, for instance).</p>
  
  <p>So my question is, is there any difference in functionality between the expression <code>0/2</code> and <code>*/2</code>? And as a followup, is there a place where Alfresco's syntax is properly documented?</p>