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 
> <https://cloud.google.com/support/docs/issue-trackers> report with your 
> project-id, and the config files 
> <https://docs.google.com/spreadsheets/d/1XxyZBWussxx5zaGZLKbfTpevmNUw_alIGn0XfYK5iCQ/edit#gid=0>
>  
> 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 
>> <https://cloud.google.com/appengine/docs/flexible/php/migrating>.
>>
>> 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] 
>> <https://docs.google.com/spreadsheets/d/1XxyZBWussxx5zaGZLKbfTpevmNUw_alIGn0XfYK5iCQ/edit#gid=0>.
>>  
>> 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 +0000] "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 +0000] "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.

Reply via email to