The 'at' command has the added advantage over cron that it is not tied to a specific instant of time. If you schedule a job to run in 'cron' to run at 1pm every day, and the system happens to be down at 1pm, the job will not run until 1pm the next day. With 'at', if you schedule the job to run at 1pm, and the system is down until 2pm, then when it comes up at 2pm, the job will run then.

Of course, you have to add extra logic to have it re-schedule itself if it is a periodic job.


In reply to Re^2: Running a perl script automatically on Mac OS X 10.5 by Illuminatus
in thread Running a perl script automatically on Mac OS X 10.5 by Ninth Prince

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.