[Developers] any programmatic way to query for sandbox reloading status?

Gordon Mackenzie gordon at metaweb.com
Fri Jul 17 19:43:29 UTC 2009


On Jul 17, 2009, at 12:23 PM, Shawn Simister wrote:

> You should also be able to poll http://www.sandbox-freebase.com/api/version 
>  to check for updates. It still wouldn't give you any advance  
> warning though.

I'm afraid that would only let you know if the client code (or some  
other code project) has changed, data changes will not be visible in / 
api/version.

>
> Shawn
>
> Kirrily Robert wrote:
>>
>> It seems to me that you could do this yourself, in a weird way.  When
>> you run your sandbox updater, create a topic on sandbox called
>> "Sandbox hasn't been refreshed yet."  Then when your cron job runs,
>> look for the presence of that topic, also checking for creator =
>> rdhyee just to be sure.  If the topic doesn't exist, it means sandbox
>> has been refreshed, in which case you run your updater again and re-
>> create the topic.
>>
>> Hacky, but should do the trick.
>>
>> K.
>>
>> On 17/07/2009, at 11:48 AM, Raymond Yee wrote:
>>
>>
>>> Now that freebase-python 1.0 makes it easier to easier to save and
>>> copy
>>> types and objects around
>>> (http://blog.freebase.com/2009/07/10/freebase-python-1-0/ ), I'm
>>> thinking of automating the process of saving my sandbox work and
>>> reloading it every week.  Is there an API call (or series of API
>>> calls)
>>> I can make to determine 1) whether the sandbox is in the process of
>>> being reloaded and 2) when that reloading is done?  Also some
>>> information that indicates an estimate of when the next reload will
>>> start and when it will end would be helpful for automating saving my
>>> work between sandbox refreshes.
>>>
>>> -Raymond
>>> _______________________________________________
>>> Developers mailing list
>>> Developers at freebase.com
>>> http://lists.freebase.com/mailman/listinfo/developers
>>>
>>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090717/79f91b3a/attachment.htm 


More information about the Developers mailing list