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.