|
#1
|
|||
|
|||
|
how to limit updates to X machines per day?
I need a way to throttle the update mechanism to X machines per day. Any ideas?
|
|
#2
|
||||
|
||||
|
Hi cydude,
I'm not exactly sure what you mean by "throttle". Perhaps you could explain what you want to do with TrueUpdate in a little bit more detail.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#3
|
|||
|
|||
|
If we have thousands of machines out there we don't want to update all of them at once. Instead, we want to limit the number of updates performed per day.
|
|
#4
|
|||
|
|||
|
This solution is not easy, but doable.
1. Create a .PHP file (e.g. UPDATECOUNT.PHP) and place it on your server. Every time the file is executed by your TrueUpdate, it will update a counter in SQL / Access database or simply a text file on the server. 2. Create another .PHP file (e.g. CHECKCOUNT.PHP) on your server to read the number of updates from database / text file before performing an update. The system will work as follows: 1. The user runs TrueUpdate, which in turns calls CHECKCOUNT.PHP on your server and receives a number of updates performed today. 2. If the limit hasn't been reached yet, proceed updating a client. At the end of update, call UPDATECOUNT.PHP on your server to increment today's update count in your server database or text file by 1. The .php files will be called by your TrueUpdate as follows: sResult = HTTP.Submit("http://myservername/CHECKCOUNT.PHP", nil, SUBMITWEB_POST, 20, 80, nil, nil); Depending on your knowledge of IIS and PHP, it should take you around 1 week to figure out php code and IIS security settings for the system to work. Last edited by tigran; 03-24-2008 at 01:06 PM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 30 Day Trial Limit ?? | RizlaUK | AutoPlay Media Studio 6.0 | 3 | 11-03-2006 11:12 AM |
| What’s the day to day? | csd214 | General Chat | 0 | 05-27-2004 01:07 AM |
| Run Once a day ONLY Problem | morci | AutoPlay Media Studio 5.0 | 2 | 03-04-2004 07:53 PM |
| Checking for Updates | cchian | AutoPlay Media Studio 5.0 | 16 | 11-25-2003 03:33 AM |
| HOWTO: Limit the Number of Times an Install can be Run | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-17-2002 03:58 PM |
All times are GMT -6. The time now is 01:43 AM.








Linear Mode

