Scheduler db_spawn_vehicles

Seelenschnitter

New Member
Hey guys i hope this is the right forum for my question i'm facing a little problem here:

I'm trying to start a .bat that will start a vehicle cleanup. When i do this manually it's working but if i run it with the bec scheduler:

<job id="35">
<time>21:29:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>C:\mypath\mypath 2\Vehicles.bat</cmd>
<cmdtype>1</cmdtype>
</job>

Vehicles.bat:
@echo off
echo Running Vehicle Cleaner
choice /d y /t 5 > nul
call db_spawn_vehicles.pl --database Mydatabase --username myname --password mypassword --Limit 250 --cleanup tents --cleanup bounds --cleanup all

it shows:
'db_spawn_vehicles.pl' is not recognized as an internal or external command,

How can i realize that it will run this bat? (How do i implement Perl into the .bat that it will run correctly?)
 
Back
Top