Quantcast
Viewing latest article 18
Browse Latest Browse All 31

Cron Job keeps failing because it cannot find library

I had a cron job that kept failing in google app engine.  This wasn't a production environment, but it was an appspot.  Turns out the fix was pretty simple.  Use Target in the cron.yaml to specify which version you want to run against.  If you don't, it just runs against the default version.  The default version doesn't have the code that the cron job was referencing so it fails.  The other fix is to just set your version to the default version.

https://developers.google.com/appengine/docs/python/config/cron#About_cron_yaml



Viewing latest article 18
Browse Latest Browse All 31

Trending Articles