Shane,

I'm not sure this is what you meant with your last post:

Replace:
Code:
  
If $time='24:00'
$time='00:00'
$date=DateMath($date, 1)
EndIf
If $day>0
$date=DateMath($date, $day)
EndIf



for:

Code:

If $day>0
$date=DateMath($date, $day)
Else
$date=@date
EndIf



unfortunately, It doesn't work

Quote:


Task will be scheduled on comp1 on 01/06/2004 at 24:00
Error 1 - Incorrect function.

Task will be scheduled on comp2 on 01/07/2004 at 00:30
Error 0 - The operation completed successfully.










_________________________
Co