Capitalization In Cron Scheduling
A note on cron: schedules must be recorded in all lowercase letters. The following picture shows an application upload failure because the S in Saturday is capitalized in cron.
However the all lowercase version schedule: every saturday 9:00 works.
Posting To Twitter
Simple Logging In Java
Extract Subdomain From Request In Go
HTTP Requests On The App Engine Free Tier
Here’s a sample of what Google App Engine can do on the free tier:
Yes, that is almost 52,000 requests with an average latency of 35 milliseconds.
App Engine Default Server Error Page
When your application encounters an error, App Engine will shut down the request causing the error and return the following text to the user:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
The server error page will look similar to the following:
This error page is not the full error report; to see the actual error, you need to go to the Logs section of your App Engine application and find the error log. Here’s some pictures to help you find the error log:
First, go to your application dashboard and click the Logs link:
Click on the radio button marked Logs with minimum severity and choose Error from the dropdown box:
The logs page will automatically update to show all requests that failed.
Receiving Mail In Java
App Engine Server Updates
App Engine is currently upgrading one of my applications from 1.8.1 to 1.8.2. Here’s a picture of how the application dashboard looks:
Google App Engine Source Code
App Engine maintains the source code repository for its’ APIs at https://code.google.com/p/googleappengine/source/checkout . Using a Subversion client you can check out and review the code – just follow the directions on the page.
If you would prefer to browse the code online, you can go to https://code.google.com/p/googleappengine/source/browse/ . Open up the folders on the left side navigation bar until you get to the file you’re looking for. Most of the time you’ll want the most recent source code available, so browse to the SVN > Trunk folder and go from there.
Need an open source implementation of the whole production server and its environment? Try AppScale, which is a Google-supported project allowing App Engine applications to run on other servers.