#42468 - 2003-07-04 05:36 PM
ScheduleTask UDF
|
anthonyalderson
Getting the hang of it
Registered: 2003-03-20
Posts: 52
Loc: England
|
I think this one would be directed straight at you jens but anyone who knows can help me out here,
I'm trying to use the scheduletask udf found here on the board and created by jens.
Thing is i'm not sure how to enter the parameters, i mean do i add them in directly where the blank space is or add them elsewhere, or call them in from elsewhere. Now i've read the manual but its not very helpful so i've come to you guys again, the guaranteed help section lol
Anyway if anyone can help i'd be most thankful,
Anth
|
|
Top
|
|
|
|
#42469 - 2003-07-04 05:39 PM
Re: ScheduleTask UDF
|
anthonyalderson
Getting the hang of it
Registered: 2003-03-20
Posts: 52
Loc: England
|
sorry again, its this UDF right here:
ScheduleTask UDF
|
|
Top
|
|
|
|
#42470 - 2003-07-04 05:55 PM
Re: ScheduleTask UDF
|
Les
KiX Master
   
Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
|
Well... Jens does not appear to be online today so I will give it a go...
Did you look at the example he gave in the UDF header? quote: ;EXAMPLE $name='demo.job' $comp='SERVER' $date='11/11/01' $time='NOW' $type='ONCE' $user='administrator' $pw='adminpassword' $comment='cool!' $command='notepad' $parameters='' $typeargs='' $retcode=scheduletask($name,$comp,$date,$time,$type,$user,$pw,$comment,$command,$parameters, $typeargs)
It looks pretty straight forward. What part of it do you not understand?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.
|
|
Top
|
|
|
|
#42471 - 2003-07-04 06:03 PM
Re: ScheduleTask UDF
|
anthonyalderson
Getting the hang of it
Registered: 2003-03-20
Posts: 52
Loc: England
|
you'll do just as good les
i noticed the example yes but still dont fully understand the code, i means its beyond me for the time being, but its where the actual parameters go that i dont understand, see i'm just about to try it out, but do the parameters go in the snippet of code below:
code:
if not vartype($parameters) Dim $parameters $parameters='' endif ; this should point to your copy of jt.exe
do they go between the quotations after the word parameters or elsewhere????
Anth
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 661 anonymous users online.
|
|
|