The timing service of Google App Engine has finally come out. At that time, he was working on water and wood.CommunityThe Image Library requires such a function very much, but it didn't have the ability at the time, so we tried alternative implementations, such as gaeutilities and schedulerservice. With this service, you don't have to worry about the new data being captured.
To use this scheduled service is also relatively simple. First, you may need to expose a URL for the cron service to be accessed. Here, it needs to be triggered by a GET request. Add a Cron. yaml file to the root directory of the application. The content is roughly as follows. The URL indicates the address accessed by the cron service, and schedule indicates the regular interval.
XMLCode
- Cron:
- -Description: daily summary job
- URL:/tasks/Summary
- SCHEDULE: every 24 hours
- -Description: Monday morning mailout
- URL:/mail/weekly
- SCHEDULE: Every Monday of month