Task - "Automatically Restart Stopped BES Clients Using TaskScheduler" fails

(imported topic written by MBARTOSH)

Task ID 250 - “Automatically Restart Stopped BES Clients Using TaskScheduler” fails on the last command of the code.

dos at {(first 5 of following text of position 17 of ((((first 17 of (now as string)) & parameter “RunTime” of action & (last 9 of (now as string))) as time + 1 * minute) as string))} {if (parameter “Interval” of action equals “”) then ("") else ("/every:" & parameter “Interval” of action)} cmd /c net start BESClient

I have run this on many machines and it alwasy fails.