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: [email protected]
[mailto:[email protected]] On Behalf Of Waleed Abdulla
Sent: Friday, June 24, 2011 3:58 PM
To: [email protected]
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 <[email protected]>
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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]
<mailto:google-appengine%[email protected]> .
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected]
<mailto:google-appengine%[email protected]> .
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.