Initial Enova365 sync service

This commit is contained in:
2026-07-15 08:27:32 +00:00
commit 605c6b7d2a
50 changed files with 2813 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
@echo off
setlocal
cd /d "%~dp0"
if not exist "smartb2bsync-enova.exe" (
echo Brak smartb2bsync-enova.exe. Najpierw uruchom publish.ps1.
exit /b 1
)
smartb2bsync-enova.exe install
if errorlevel 1 exit /b %errorlevel%
smartb2bsync-enova.exe start
exit /b %errorlevel%

Binary file not shown.

View File

@@ -0,0 +1,13 @@
<service>
<id>smartb2bsync-enova</id>
<name>SmartB2B SYNC - enova365</name>
<description>Synchronizuje enova365 z portalem SmartB2B.</description>
<executable>%BASE%\..\SmartB2B.Enova.Service.exe</executable>
<workingdirectory>%BASE%\..</workingdirectory>
<stoptimeout>30sec</stoptimeout>
<log mode="roll-by-time">
<pattern>yyyyMMdd</pattern>
</log>
<onfailure action="restart" delay="10 sec" />
<delayedAutoStart />
</service>

View File

@@ -0,0 +1,7 @@
@echo off
setlocal
cd /d "%~dp0"
smartb2bsync-enova.exe stop
smartb2bsync-enova.exe uninstall
exit /b %errorlevel%