home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="polarie" data-source="post: 736809" data-attributes="member: 45042"><p><strong>AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3</strong></p><p></p><p>Micheal gave me a bit of the batch-code i can use to define</p><p></p><p>[CODE]if "%1" == "wakeup" (</p><p> xyz1.bat</p><p> xyz2.bat</p><p> ...</p><p>)</p><p>[/CODE]</p><p></p><p>and so it should work</p><p></p><p>i think i can handle it like that (@ netexplorer THX again still use ur cmd-line)</p><p>bring in the commands in one new batch-file so it'll do the job ... </p><p></p><p>[CODE]if "%1" == "wakeup" (</p><p></p><p>@echo Check Data-Base ...</p><p>cd C:\Programme\MySQL\MySQL Server 5.1\bin</p><p>mysqlcheck --user=root --pass=MediaPortal --auto-repair MPTVDB</p><p></p><p>@echo Deleting old Log-Files...</p><p>cd C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal TV Server\log</p><p>for /f "skip=5" %%i in ('dir /b/o:-n *.log') do del %%i</p><p> </p><p>)</p><p>[/CODE]</p><p></p><p>and all this code - inside ONE - batch-file should it make happen?</p><p></p><p>will that also work with <span style="color: red">"reboot"</span> instead of <span style="color: blue">"wakeup"</span></p></blockquote><p></p>
[QUOTE="polarie, post: 736809, member: 45042"] [b]AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3[/b] Micheal gave me a bit of the batch-code i can use to define [CODE]if "%1" == "wakeup" ( xyz1.bat xyz2.bat ... ) [/CODE] and so it should work i think i can handle it like that (@ netexplorer THX again still use ur cmd-line) bring in the commands in one new batch-file so it'll do the job ... [CODE]if "%1" == "wakeup" ( @echo Check Data-Base ... cd C:\Programme\MySQL\MySQL Server 5.1\bin mysqlcheck --user=root --pass=MediaPortal --auto-repair MPTVDB @echo Deleting old Log-Files... cd C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal TV Server\log for /f "skip=5" %%i in ('dir /b/o:-n *.log') do del %%i ) [/CODE] and all this code - inside ONE - batch-file should it make happen? will that also work with [color=red]"reboot"[/color] instead of [color=blue]"wakeup"[/color] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4
Contact us
RSS
Top
Bottom