!
! What day of the week is it
!
weekday = $date("%A")
!
! If it's Saturday go to end of week processing
!
if weekday .eqs. "Saturday" then goto End_of_week
!
! Run at midnight today
!
batch x/after=tomorrow
exit
!
! Run at midnight two days from now
!
End_of_week:
batch x/after="tomorrow+48"