in reply to Vista Task Scheduler

Assuming it's like previous version of Windows, you need to give Perl a console (/interactive using the command line interface to the scheduler) or use wperl instead of perl.

Replies are listed 'Best First'.
Re^2: Vista Task Scheduler
by Anonymous Monk on Apr 13, 2008 at 04:49 UTC

    Could you give a simple example of using at with either /interactive and perl or wperl please?

      Actually, I didn't need /interactive.

      >type c:\script.pl open(my $fh, '>>', 'c:\\script.out') or die; print $fh (scalar(localtime()), "\n"); >at 1:59 perl c:\script.pl Added a new job with job ID = 1 >at Status ID Day Time Command Line ---------------------------------------------------------------------- +--------- 1 Today 1:59 AM perl c:\script.pl >time The current time is: 1:59:36.77 Enter the new time: >at There are no entries in the list. >type c:\script.out Sun Apr 13 01:59:00 2008