I have used the "at" command to run automated jobs with perl scripts for long times (years) in different environments.

I have *not* seen any problems with the "at" command itself, as long as it is used with the *originally installed NT scheduling service*, and *not* the Task Scheduler (which is the newer variant of the Scheduling Service, offers a GUI, and is installed by default by a variety of MS programs, not the least newer Internet Explorer versions and the BackOffice Suite).

There are *definitively many problems* with using the "at" command in conjunction with the Task Scheduler. Don't do that. Use either "at" and the default NT scheduler, or the Task Scheduler.

Reasons for using "at" are the usual reasons for using the command line (you can use automization for job setup, run automated deploy scripts, manipulate things easily from remote, etc.).

Reasons for using the Task Scheduler mainly boil down to having a GUI and having no installation problems, since nearly all new packages for MS Server will install the Task Scheduler.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com


In reply to Re: Re: WinDoze NT Automation Question by clemburg
in thread WinDoze NT Automation Question by Ducati

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.