That was just sample path.
Thanks, I double-checked everything, now it looks like this:
on end-user machines:
schtask /create /tn check_running /tr \\somepath\collect.cmd /F /sc hourly /st 09:00 /ed #somedate#
collect.cmd
:start
IF EXIST \\somepath\reports.ldb (goto wait)
\\somepath\aida64.exe /R /custom \\somepath\processes.rpf /database /silent /safest /noicons
goto end
:wait
start /MIN /wait timeout /t 30
goto start
:end
echo %time%, collect successful >> \\somepath\log.txt
Note that you should change preferences - database or use /inifile \\path_to_inifile_for_aida64
Now it works
Hope it will help someone else