[Developers] any programmatic way to query for sandbox reloading status?
Kirrily Robert
kirrily at metaweb.com
Fri Jul 17 19:14:27 UTC 2009
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
--
Kirrily Robert
Freebase Community Director
kirrily at metaweb.com
More information about the Developers
mailing list