Indigo Rose Software

Go Back   Indigo Rose Software Forums > TrueUpdate 3.5 > TrueUpdate 3.5 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2008
cydude cydude is offline
Forum Member
 
Join Date: Mar 2008
Posts: 9
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?
Reply With Quote
  #2  
Old 03-24-2008
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
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
Reply With Quote
  #3  
Old 03-24-2008
cydude cydude is offline
Forum Member
 
Join Date: Mar 2008
Posts: 9
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.
Reply With Quote
  #4  
Old 03-24-2008
tigran tigran is offline
Forum Member
 
Join Date: Apr 2007
Posts: 56
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software