Cron every 10 minute

 

Increment Cron Counter

If cron > 9

{ 

Do Cron Job

If CronSuccess = True

{

cron=0

}

 

}

 

This is better because if the cron fails to run or the job doesn't complete
you get a retry.

 

Still a bug.  But I never cron less than 60 minutes so that even daily and
monthly jobs get a chance to re-run if they fail.

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Waleed Abdulla
Sent: Friday, June 24, 2011 3:58 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] What's the syntax to schedule a cron every
100 minutes?

 

Thanks Robert. I filed an issue here:

 

http://code.google.com/p/googleappengine/issues/detail?id=5243

 

 

On Fri, Jun 24, 2011 at 12:58 PM, Robert Kluin <robert.kl...@gmail.com>
wrote:

Looks like this might be a bug.  99 minutes works fine, but it doesn't
seem to like three digit numbers.

You might want to search the issue tracker for a similar issue, or
file a bug report if you can't find one.


Robert






On Thu, Jun 23, 2011 at 00:39, Waleed Abdulla <wal...@ninua.com> wrote:
> I tried this:
>
> - description: My Cron Job
>   url: /work/cronjob
>   schedule: every 100 minutes
> And this:
> - description: My Cron Job
>   url: /work/cronjob
>   schedule: every 1.6 hours
>
> And both error out when I try to deploy, with the message:
> Error parsing yaml file:
> Unable to assign value 'every 100 minutes' to attribute 'schedule':
> schedule 'every 100 minutes' failed to parse: line 1:8 mismatched input
u'0'
> expecting set None
>   in "./cron.yaml", line 43, column 13
>

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
<mailto:google-appengine%2bunsubscr...@googlegroups.com> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com
<mailto:google-appengine%2bunsubscr...@googlegroups.com> .
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

 

-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to