How to set a complex custom crontab in google-app-engine (java)?

Posted by Shreeni on Stack Overflow See other posts from Stack Overflow or by Shreeni
Published on 2009-09-07T03:05:54Z Indexed on 2010/04/17 19:13 UTC
Read the original article Hit count: 192

I am building an app for which I need to set up cron jobs. What I want to do is to set the specific minutes in a hour where specific crons should run. For instance:

  • Task1 at 1st minute of the hour
  • Task2 on every second minute of the hour
  • Task3 every 2 minute only in the second half of the hour

Building this in the standard Unix cron format is reasonably straightforward, but could not figure out how to do it in the Google-App-Engine.

The documentation does not list any non-trivial examples. Any suggestions on how to do it? Examples would be excellent.

© Stack Overflow or respective owner

Related posts about java

Related posts about google-app-engine