[google-appengine] Re: Cron job failed in Google App Engine Flexible environment

2017-05-05 Thread 'Jun (Cloud Platform Support)' via Google App Engine
Nice to hear that, Dhandapani!

- Jun



On Friday, May 5, 2017 at 11:44:01 AM UTC-4, Dhandapani Sattanathan wrote:
>
> Thanks, Jun, Attila-Mihaly Balazs,
>
> *Cron jobs working fine. I added this in crontest.php file *$_SERVER[
> 'HTTP_X_APPENGINE_CRON'] =true;.
>
> Then I added this socket mysqli.default_socket= '/cloudsql/CONNECTION_NAME' 
> in php.ini.
>
>
> *After that Cron job working fine using core PHP projects.*
> On Wednesday, May 3, 2017 at 9:23:52 PM UTC+5:30, Jun (Cloud Platform 
> Support) wrote:
>>
>> Hi Dhandapani,
>>
>> For now, I suggest that you try the suggestion by Attila-Mihaly given the 
>> 404 error you're seeing. 
>>
>> If it does not resolve the issue, then it is recommended that you open 
>> an issue at the Issue Tracker 
>>  report with your 
>> project-id, and the config files 
>> 
>>  
>> since Google Groups is meant for general product discussions and not for 
>> technical support.
>>
>> - Jun
>>
>>
>> On Wednesday, May 3, 2017 at 5:35:18 AM UTC-4, Dhandapani Sattanathan 
>> wrote:
>>>
>>> I m migrating my PHP application from Google App engine Standard 
>>> Environment to Flexible environment 
>>> .
>>>
>>> My application working fine with database and send grid. But Cron jobs 
>>> are failed.
>>>
>>> I could not find what I missed to run a Cron job. You can see my 
>>> application in [1] 
>>> .
>>>  
>>> I got HTTP/1/1 404 issues only. Below I gave the log
>>>
>>>
>>> 18:57:00.000172.18.0.3 - - [02/May/2017:13:27:00 +] "GET 
>>> /web/crontest.php HTTP/1.1" 404 162 "-" "AppEngine-Google; (+
>>> http://code.google.com/appengine)" { textPayload: "172.18.0.3 - - 
>>> [02/May/2017:13:27:00 +] "GET /web/crontest.php HTTP/1.1" 404 162 "-" 
>>> "AppEngine-Google; (+http://code.google.com/appengine)" " insertId: 
>>> "epwcgng8mcw86z" resource: {…} timestamp: "2017-05-02T13:27:00Z" labels: 
>>> {…} logName: "projects/project-id/logs/appengine.googleapis.com%2Fstdout" 
>>> }
>>>
>>> Please help me to fix this.
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>>
>>> SN
>>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a4afcdd2-5eb2-4893-b288-b46df31a960e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron job failed in Google App Engine Flexible environment

2017-05-05 Thread Dhandapani Sattanathan
Thanks, Jun, Attila-Mihaly Balazs,

*Cron jobs working fine. I added this in crontest.php file *$_SERVER[
'HTTP_X_APPENGINE_CRON'] =true;.

Then I added this socket mysqli.default_socket= '/cloudsql/CONNECTION_NAME' 
in php.ini.


*After that Cron job working fine using core PHP projects.*
On Wednesday, May 3, 2017 at 9:23:52 PM UTC+5:30, Jun (Cloud Platform 
Support) wrote:
>
> Hi Dhandapani,
>
> For now, I suggest that you try the suggestion by Attila-Mihaly given the 
> 404 error you're seeing. 
>
> If it does not resolve the issue, then it is recommended that you open an 
> issue at the Issue Tracker 
>  report with your 
> project-id, and the config files 
> 
>  
> since Google Groups is meant for general product discussions and not for 
> technical support.
>
> - Jun
>
>
> On Wednesday, May 3, 2017 at 5:35:18 AM UTC-4, Dhandapani Sattanathan 
> wrote:
>>
>> I m migrating my PHP application from Google App engine Standard 
>> Environment to Flexible environment 
>> .
>>
>> My application working fine with database and send grid. But Cron jobs 
>> are failed.
>>
>> I could not find what I missed to run a Cron job. You can see my 
>> application in [1] 
>> .
>>  
>> I got HTTP/1/1 404 issues only. Below I gave the log
>>
>>
>> 18:57:00.000172.18.0.3 - - [02/May/2017:13:27:00 +] "GET 
>> /web/crontest.php HTTP/1.1" 404 162 "-" "AppEngine-Google; (+
>> http://code.google.com/appengine)" { textPayload: "172.18.0.3 - - 
>> [02/May/2017:13:27:00 +] "GET /web/crontest.php HTTP/1.1" 404 162 "-" 
>> "AppEngine-Google; (+http://code.google.com/appengine)" " insertId: 
>> "epwcgng8mcw86z" resource: {…} timestamp: "2017-05-02T13:27:00Z" labels: 
>> {…} logName: "projects/project-id/logs/appengine.googleapis.com%2Fstdout" 
>> }
>>
>> Please help me to fix this.
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> SN
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/485042a1-28af-40a6-b5ee-25069456ab53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Cron job failed in Google App Engine Flexible environment

2017-05-03 Thread SN
Thanks, Jun & Attila.

I had issues in Cron job only.I 'll give details in the issue tracker and
open defect.





*Regards,*

*SATTANATHAN DPROJECT MANAGER*
*SSOMENS SOFTWARE DEVELOPMENT*
*04132333229 /230/231*
www.ssomens.com
[image: C:\Users\SSOMENS-003_2\Desktop\business development
material\customLogo.gif.png]

Education is the most powerful weapon which you can use to change the world


On Wed, May 3, 2017 at 9:23 PM, 'Jun (Cloud Platform Support)' via Google
App Engine  wrote:

> Hi Dhandapani,
>
> For now, I suggest that you try the suggestion by Attila-Mihaly given the
> 404 error you're seeing.
>
> If it does not resolve the issue, then it is recommended that you open an
> issue at the Issue Tracker
>  report with your
> project-id, and the config files
> 
> since Google Groups is meant for general product discussions and not for
> technical support.
>
> - Jun
>
>
> On Wednesday, May 3, 2017 at 5:35:18 AM UTC-4, Dhandapani Sattanathan
> wrote:
>>
>> I m migrating my PHP application from Google App engine Standard
>> Environment to Flexible environment
>> .
>>
>> My application working fine with database and send grid. But Cron jobs
>> are failed.
>>
>> I could not find what I missed to run a Cron job. You can see my
>> application in [1]
>> .
>> I got HTTP/1/1 404 issues only. Below I gave the log
>>
>>
>> 18:57:00.000172.18.0.3 - - [02/May/2017:13:27:00 +] "GET
>> /web/crontest.php HTTP/1.1" 404 162 "-" "AppEngine-Google; (+
>> http://code.google.com/appengine)" { textPayload: "172.18.0.3 - -
>> [02/May/2017:13:27:00 +] "GET /web/crontest.php HTTP/1.1" 404 162 "-"
>> "AppEngine-Google; (+http://code.google.com/appengine)" " insertId:
>> "epwcgng8mcw86z" resource: {…} timestamp: "2017-05-02T13:27:00Z" labels:
>> {…} logName: "projects/project-id/logs/appengine.googleapis.com%2Fstdout"
>> }
>>
>> Please help me to fix this.
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> SN
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/google-appengine/qpgWRVp-fuo/unsubscribe.
> To unsubscribe from this group and all its topics, 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 https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/9fc6fd68-9ab1-4db1-b37b-
> bdcbabd10dbf%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CABgY%2B3kB15wkQNJGj%3DH_93TCCNfWhm51kzCZY1%3DawHpb-QEyTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron job failed in Google App Engine Flexible environment

2017-05-03 Thread 'Jun (Cloud Platform Support)' via Google App Engine
Hi Dhandapani,

For now, I suggest that you try the suggestion by Attila-Mihaly given the 
404 error you're seeing. 

If it does not resolve the issue, then it is recommended that you open an 
issue at the Issue Tracker 
 report with your 
project-id, and the config files 

 
since Google Groups is meant for general product discussions and not for 
technical support.

- Jun


On Wednesday, May 3, 2017 at 5:35:18 AM UTC-4, Dhandapani Sattanathan wrote:
>
> I m migrating my PHP application from Google App engine Standard 
> Environment to Flexible environment 
> .
>
> My application working fine with database and send grid. But Cron jobs are 
> failed.
>
> I could not find what I missed to run a Cron job. You can see my 
> application in [1] 
> .
>  
> I got HTTP/1/1 404 issues only. Below I gave the log
>
>
> 18:57:00.000172.18.0.3 - - [02/May/2017:13:27:00 +] "GET 
> /web/crontest.php HTTP/1.1" 404 162 "-" "AppEngine-Google; (+
> http://code.google.com/appengine)" { textPayload: "172.18.0.3 - - 
> [02/May/2017:13:27:00 +] "GET /web/crontest.php HTTP/1.1" 404 162 "-" 
> "AppEngine-Google; (+http://code.google.com/appengine)" " insertId: 
> "epwcgng8mcw86z" resource: {…} timestamp: "2017-05-02T13:27:00Z" labels: 
> {…} logName: "projects/project-id/logs/appengine.googleapis.com%2Fstdout" 
> }
>
> Please help me to fix this.
>
> Thanks in advance.
>
> Regards,
>
> SN
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9fc6fd68-9ab1-4db1-b37b-bdcbabd10dbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron job failed in Google App Engine Flexible environment

2017-05-03 Thread Attila-Mihaly Balazs
Hello Dhandapani,

If you're seeing a 404 error, it means that the given URL 
(/web/crontest.php) is not accessible. Could you check your setup to 
confirm that /web/crontest.php can be accessed?

Regards,
Attila

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/148fae48-d053-4684-a855-b505047cb529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.