On Fri, Mar 10, 2017 at 11:52 AM, 'Jordan (Cloud Platform Support)' via
Google App Engine <[email protected]> wrote:

> You can update the schedule of any CRON job by changing your cron.yaml
> <https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml>
>  and
> redeploying it
> <https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#uploading_cron_jobs>.
> You are able to use any of the following Schedule Formats
> <https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format>(e.g
> *every day 15:00*) to tell your CRON when to run.
>

Jordan is right. Also note that, to get similar effects without needing the
ability to redeploy cron.yaml, in many cases a simple trick can be used:
have the cron.yaml trigger (e.g) every hour, and hold a singleton entity in
the datastore recording on which of these 24 daily occurrences the code
must actually do any work (as opposed to just return immediately).

That singleton entity in the datastore can be set, checked, and
overwritten, with any web UI and/or remote API of your choice, of course.


Alex

-- 
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/b386d3e9-802f-430d-a729-
> 8c8a528af5db%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/b386d3e9-802f-430d-a729-8c8a528af5db%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be-exBY1BVnnWhP07L6SSMpQhtryhm%2BUF8c8it%2Bh%2BvtAbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to