You can configure the "backend" module with *basic scaling* and an
idle_timeout as short as you wish -- for all details, see
https://cloud.google.com/appengine/docs/php/modules . Basic scaling means
that the instance is started when the module receives a request, the
request can run indefinitely, and the instance is evicted when it has been
idle for over idle_timeout (the default is 5 minutes) -- seems a pretty
good fit for your use case.


Alex


On Thu, Jun 18, 2015 at 5:50 PM, Flav Ible <[email protected]> wrote:

> Hey guys, so i have a module that is used as the back end and it is
> constantly running eating up my backend instance hours.
>
> I only need it to start at 12:30 am every day and then shutdown when the
> task queue is empty.
> The tasks currently take 1-2 min and there aren't too many of them so it
> will be done by 1-2 am.
>
> There must be a way to achieve this dynamically?
>
> I would settle for stop at this time and start at this time if it isn't
> possible to be more intricate.
>
> Thanks in advance guys,
>
> George - Flavible
>
> --
> 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 http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/fbd127e8-f717-4e6a-ba32-9834cf498a74%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/fbd127e8-f717-4e6a-ba32-9834cf498a74%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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be_qqN_vXatB9K7Zua44VWU%3Dcx-jV68%2Bgc5P0aXbMG6HcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to