• Previous message: [greg-dev] Support forums?
  • Next message: [greg-dev] Confused about auto updates
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Confused about auto updates

    I have a site that uses Gregarius as the back end system used to populate the database with a front end ASP site used to actually display items to the user. The idea was to have Gregarius constantly running in the background adding new feeds and keeping the DB up to date. 
    
    Problem, i've come across though is we currently have 6000+ channels in the database and 60,000+ items and the update is run as a Windows scheduled task running a couple of times a day and calling http://www.mysite.com/admin/update.php?silent - It only seems to update the first channels in the database say the first 30 channels before the update.php page times out. I thought it was initially a limit set by my provider on the scheduled task but i have since found out no limit exists and its just the update.php?silent page timing out. If i call it manually in my browser, it dies after a few minutes with the error:
    
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers.
    
    If i open the update page without the silent switch, it opens the interface saying updating 6320 feeds and then the browser hangs with a 'not responding' message in the taskbar.
    
    So i've got a couple of questions:
    
    - How do i set it so when the update.php?silent page is called it completes a full pass of the database and updates all the feeds? 
    - If i open my browser and type in http://www.mysite.com/admin/update.php?silent can i then shut my browser window without ending the update process? ie, once called will it continue to run until completion even if the callers user session no longer exists?
    
    Thanks.
    
    Paul
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://sinless.org/pipermail/gregarius-dev/attachments/20050918/72a7664e/attachment.html
    
    Posted by D2 Computing [reply] at Sun Sep 18 22:09:43 CEST 2005