google app engine - Write Cron Job in Java on GAE to Run BigQuery -


i want run cron job on gae internally calls bigquery.

i able run bigquery need log in credentials. run cron job bigquery without login.

any highly appreciated.

i know it's not java you're expecting. secret use appassertioncredentials. here python sample:

from apiclient.discovery import build oauth2client.appengine import appassertioncredentials import httplib2 google.appengine.api import memcache  scope = 'https://www.googleapis.com/auth/bigquery'  credentials = appassertioncredentials(scope=scope)  http = credentials.authorize(httplib2.http(memcache))  return build("bigquery", "v2", http=http) 

Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -

PHPMotion implementation - URL based videos (Hosted on separate location) -