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
MediaPortal 1
Development
General Development (no feature request here!)
Scheduler in MP ? (for a plugin)
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="Boris" data-source="post: 18887" data-attributes="member: 13068"><p>I'm doing a plugin which have one thing to do every day. How can I do it the "better" way in MediaPortal ?</p><p></p><p>Actually, I think I will do it like this :</p><p>- When Mp start, start a timer with the elaps time to the next time.</p><p>- If MP stop, I kill the timer and end the plugin.</p><p>- If timer ok, I will do the work and then start a new timer.</p><p></p><p>explain with an example :wink: </p><p>==> job every day at 9:00</p><p>- start MP at 0:00 => start a timer for 9:00</p><p>- start MP at 5:00 => start a timer for 4:00</p><p>- timer trigger : do the job and start a new timer for 24:00</p><p>- start MP at 10:00 => do the job and start a timer for 23:00</p><p></p><p>Is it ok ? How can I do this in an other better way ?</p></blockquote><p></p>
[QUOTE="Boris, post: 18887, member: 13068"] I'm doing a plugin which have one thing to do every day. How can I do it the "better" way in MediaPortal ? Actually, I think I will do it like this : - When Mp start, start a timer with the elaps time to the next time. - If MP stop, I kill the timer and end the plugin. - If timer ok, I will do the work and then start a new timer. explain with an example :wink: ==> job every day at 9:00 - start MP at 0:00 => start a timer for 9:00 - start MP at 5:00 => start a timer for 4:00 - timer trigger : do the job and start a new timer for 24:00 - start MP at 10:00 => do the job and start a timer for 23:00 Is it ok ? How can I do this in an other better way ? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Scheduler in MP ? (for a plugin)
Contact us
RSS
Top
Bottom