ADSM-L

AW: Pre and Poet Schedule commands

2002-06-27 12:04:37
Subject: AW: Pre and Poet Schedule commands
From: "Stahl, Alexander" <Alexander.Stahl AT IZB DOT DE>
Date: Thu, 27 Jun 2002 17:46:50 +0200
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>