[google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread 許吉宏
Hi There, 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. I tested copied all codes to normal .py file and executed it , it work

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread Vinny P
On Sun, Aug 10, 2014 at 10:27 PM, 許吉宏 <2pythonwo...@gmail.com> 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. > Do

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread 許吉宏
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

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-11 Thread PK
I am not sure what your problem is but I send e-mails initiated by cron requests all the time. PK http://www.gae123.com > On Aug 12, 2014, at 4:57 AM, 許吉宏 <2pythonwo...@gmail.com> wrote: > > Hi Vinny, >Yes , I'm using Gmail API and it works if I executes it manually . > Moreover , on the

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-12 Thread Alejandro Gonzalez
> > "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" This is the log for a loading request: https://de

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-12 Thread Vinny P
On Mon, Aug 11, 2014 at 8:57 PM, 許吉宏 <2pythonwo...@gmail.com> wrote: > I'm using Gmail API and it works if I executes it manually > Instead of using the Gmail API to send email, can you temporarily try using the built-in mail function to send mail? https://developers.google.com/appengine/docs/

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-26 Thread 許吉宏
Hi Vinny P, Followed your suggestion , I used built-in mail function to send mail by cron successfully. Do you know why is the reason I can't use Gmail API through Cron? Any GAE limitation or where is wrong ? Thank you very much . BR, Aoyii Vinny P於 2014年8月12日星期二UTC+8下午8時12分13秒寫道: > > On Mon,

Re: [google-appengine] Using GAE Cron to send mails daily

2014-08-26 Thread 許吉宏
Hi Alejandro Gonzale, Followed your suggestion , I used built-in mail function to send mail by cron successfully. Do you know why is the reason I can't use Gmail API through Cron? Any GAE limitation or where is wrong ? Thank you very much . BR, Aoyii Alejandro Gonzalez於 2014年8月12日星期二UTC+8下午3時

Re: [google-appengine] Using GAE Cron to send mails daily

2014-09-01 Thread Vinny P
On Wed, Aug 27, 2014 at 12:29 AM, 許吉宏 <2pythonwo...@gmail.com> wrote: > Hi Vinny P, > Followed your suggestion , I used built-in mail function to send mail by > cron successfully. Do you know why is the reason I can't use Gmail API > through Cron? Any GAE limitation or where is wrong ? Thank you