[Developers] any programmatic way to query for sandbox reloading status?
Shawn Simister
narphorium at gmail.com
Fri Jul 17 19:23:22 UTC 2009
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.
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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090717/11f9345c/attachment.htm
More information about the Developers
mailing list