ADSM-L

Re: AW: Pre and Poet Schedule commands

2002-06-27 13:41:33
Subject: Re: AW: Pre and Poet Schedule commands
From: Tab Trepagnier <Tab.Trepagnier AT LAITRAM DOT COM>
Date: Thu, 27 Jun 2002 12:39:13 -0500
Bryan,

If you're trying to pass VBScript programs to Windows, you have to submit
them to the "CScript" program.  As in "cscript pre.vbs".

If you have any recent version of MSIE with the default scripting support
you should have the cscript program.  You can check system32 to be sure.

Tab Trepagnier
TSM Administrator
Laitram Corporation






"Stahl, Alexander" <Alexander.Stahl AT IZB DOT DE>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
06/27/2002 10:46 AM
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        AW: Pre and Poet Schedule commands


Hi,

with windows you'll have to use following line before your command

pre/postsched %systemroot%\system32\cmd.exe /c "<your command>"

I hope this helps

Alexander Stahl
SerCon GmbH

> ----------
> Von:  Newswanger, Bryan (NEWSWABS)[SMTP:Bryan.Newswanger AT UC DOT EDU]
> Antwort an:   ADSM: Dist Stor Manager
> Gesendet:     Donnerstag, 27. Juni 2002 17:44
> An:   ADSM-L AT VM.MARIST DOT EDU
> Betreff:      Pre and Poet Schedule commands
>
> Has anyone had any luck getting the preschedule and postschedule option
to
> work. I've been testing with a VB script which just displays a text box
> when
> run. The log file gives the following error:
>
> Executing Operating System command or script:
>    c:\pre.vbs
> 06/27/2002 11:15:15 Finished command.  Return code is:
>    1
>
> I've also tried using the UNC path to the script with the same error.
The
> client version is 4.1.0 the server is v4.1.5 The workstation is Windows
NT
> 4.0 SP5. The dsm.opt has the following command for post and pre
schedule.
>
> POSTSCHEDULECMD "c:\post.vbs"
> PRESCHEDULECMD "c:\pre.vbs"
>
> Thanks in advance
>
>
> Bryan Newswanger
> Senior Network Support Specialist
> University of Cincinnati Information Technology
> University of Cincinnati
> Phone: (513)556-5153
> Fax: (513)556-2042
> E-mail: bryan.newswanger AT uc DOT edu
> ------------------------------------------------------------
> "Life is what happens while you are making other plans" - John Lennon
>
<Prev in Thread] Current Thread [Next in Thread>