Switch to desktop version  
eSync Datamailbox Connector Cycletime - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Talk2m & Argos API (https://techforum.ewon.biz/forum-54.html)
+---- Forum: DMWeb API (https://techforum.ewon.biz/forum-11.html)
+---- Thread: eSync Datamailbox Connector Cycletime (/thread-818.html)



eSync Datamailbox Connector Cycletime - Franziska - 31-01-2019

Hi!

If you also want to improve on the Scheduling time of the Datamailbox Connector of eSync
go to the Following Folder (where you installed eSync):
...\eSync\eSyncDataMailboxConnector

here you should find the following batch File that contains cms commands:
installEsyncDmConnector.bat

the command line that changes the scheduling is this one:


Code:
schtasks /create /tn eSyncDmConnector /tr "%~dp0..\php\php.exe -f  %~dp0\Main.php" /ru System /sc hourly

 /sc hourly means it will be executed every hour.

If you want to learn more about the windows command schtasks
you can enter the following commands into cmd:
Code:
help schtasks

or
Code:
schtasks /create /?

there you can find several examples.
One explaines how to start a task every 5 minutes:

Code:
... /sc MINUTE /mo 5


I hope this helps you to customize your eSync Datamailbox Connector as you need.

br
Franziska