I don't think that the scheduler service should need "interact
with desktop" but you may need to enable that. Also, if you're creating
directories on a remote machine then the scheduler account will need to be
something other than the system account, which cannot access the network.
On Mon, 27 Jan 2003, Glenn Meyer wrote:
>
>
>
>
> I am trying to build a script that helps archive data. One of the tasks I
> want it to do is to check to see if the directory path exists and if not,
> to then create it. The following code works fine everytime when running
> the script manually. However, I need to run it from an AT command. The
> script appears to work well everytime IF the directory path already exists,
> but it will not create the directories on it's own - again, this is only
> when run automatically from an AT command - running it manually it does
> fine. The Scheduler/Task Scheduler Service is running with the System
> account and the System account does have full permissions to create the
> directories.
>
> Here is the snip from the code......
> # If local_retention=yes then copies logs to local_store_path=
> if($options{local_retention} =~ m/yes/) {
> my $lspath = $options{local_store_path};
> if(!(-e $lspath)) {
> &File::Path::mkpath($lspath);
> }
> }
>
>
> Any thoughts? Thank you!!!
>
>
> Glenn Meyer
>
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
--
_______________________________________________________________________________
Clint Mahoney WWW: http://php.indiana.edu/~mahoney
_______________________________________________________________________________
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs