Christopher, I'm glad you found a solutions. I believe that you can also specify your cron.yaml when deploying. At least it works with Go. E.g.
gcloud preview app deploy app.yaml cron.yaml And I haven't tested it, but I suspect you can add the cron directive to your app.yaml file directly, without the need for a separate file: // app.yaml runtime: node // ... cron: - description: task one url: /task/one schedule: every 1 minutes On Wednesday, December 16, 2015 at 7:02:28 PM UTC-6, Christopher Eaton wrote: > > Answered- Thanks folks - I want to leave this here in case someone else > goes digging for an answer: > > Deploying is not enough to get the cron jobs going, you have to use the > appcfg.py (found in the google_appengine directory after installing the > SDK) to update the cron. > > Here's the exact command that pushed my cron.yaml to AppEngine: > ./appcfg.py update_cron /path/to/app-root/ --no_cookies > --noauth_local_webserver -A xxxx > > *Where "xxx" is my cloud project id > > Hope that helps anyone in the future! > > > On Wednesday, December 16, 2015 at 4:44:40 PM UTC-8, Christopher Eaton > wrote: >> >> I have a nodejs based Managed VM. It works great, deploys fine, etc. >> However, I can find basically zero documentation about getting AppEngine's >> cron to work with it. Many forum/stack overflow posts allude to it being >> supported, but no one knows how. >> >> I tried dropping a cron.yaml file into my app's directory (same location >> as the app.yaml file) but it doesn't seem to register when deployed. >> >> Anyone know anything about this, is it supported or not? >> >> *Note I'm not talking about cron within the docker image, I'm >> specifically asking about the AppEngine cron functionality that is grouped >> with Task Queues in the console. >> > -- 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/f65dc889-ce70-4dda-b3d6-403cf1c42154%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
