Introduction

at.exe is a commandline scheduler on Win32, similar in concept to *nix cron and at.   It's run from a cmd.exe window, and allows you to add, remove, and view scheduled commands.   Other tools exist for MS-Windows scheduling, but are outside the scope of this document.

Examples

(at time /date command)

at 2:00 /every:Th C:\Perl\bin\perl.exe C:\perls\foo.pl --options --and --arguments

at 14:00 /next:T C:\Perl\bin\perl.exe C:\perls\foo.pl --options --and --arguments

Caveats

    Perl-Specific

    General

See Also

    PerlMonks

    Roth

    ActiveState

    CPAN

    Microsoft support

    Local help

Thanks to a monk or three (you know who you are) for pre-post critique, who shall remain nameless lest the sins of this post be visited upon them verily unto three generations

Update: thanks to to replying monks for pointing out what appears to be substantial problems with win32 at.   I've not encountered problems myself, but have no reason to doubt that they exist.   Please, read the rest of this thread for yourself *before* using my examples in any situation that's at all important.   Caveat Usor


In reply to Schedule Win32 Perl Scripts with AT by ybiC

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.