Hi Vinny,
   Yes , I'm using Gmail API and it works if I executes it manually . 
Moreover , on the Cron tab , it says running the job successfully . 
But on the application logs I got the information below . Any suggestion to 
solve it ? Thank you .

"This request caused a new process to be started for your application, and 
thus caused your application code to be loaded for the first time. This 
request may thus take longer and use more CPU than a typical request for 
your application" 

BR,
Aoyii

Vinny P於 2014年8月12日星期二UTC+8上午1時44分46秒寫道:
>
> On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pytho...@gmail.com <javascript:>> 
> wrote:
>
>>   Has anyone ever used GAE Cron to send mails daily ? I used GAE Mail 
>> API (CreateAuthorizedService('gmail', 'v1') ) to send a mail by Cron daily.
>> Unfortunately , I never got one but Corn logs said it was successfully.  
>> Does anyone know where is wrong with GAE Cron ?
>>
>  
>  
> You should be able to send emails via cron-initiated requests. Did you 
> check the application logs (under logging) *and* the cron success status 
> (under the Cron tab) for errors? 
>  
>  
> On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pytho...@gmail.com <javascript:>> 
> wrote:
>
>>  I used GAE Mail API (CreateAuthorizedService('gmail', 'v1') )
>>
>  
>  
> Are you using the App Engine built-in mail API ( 
> https://developers.google.com/appengine/docs/python/mail/ ) or the Gmail 
> API ( 
> https://developers.google.com/gmail/api/auth/web-server#send_authorized_requests_and_check_for_revoked_credentials
>  ) 
> ?
>
>  
>   -----------------
>  -Vinny P
>  Technology & Media Consultant
>  Chicago, IL
>  
>  App Engine Code Samples: http://www.learntogoogleit.com
>   
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to