How to resolve pytz warning on Google App Engine cron dev server -


on crons page of app engine dev server admin url http://localhost:8000/cron

it's showing warning pytz cron entry set timezone europe/london:

pytz required calculate future run times cron jobs timezones. 

i have pytz, it's installed, i'm using in app , in crons, , it's fine on production servers.

how can rid of warning? i've tried adding including on app.yaml libraries:

libraries: - name: pytz   version: latest 

but no difference. adding 'libraries' section cron.yaml causes error. doesn't affect since crons don't run automatically in dev, want avoid warning.

my cron.yaml file is:

cron: - description: timed cron job   url: /tasks/monday-at-9   schedule: every monday 09:00   timezone: europe/london 

and error/warning on dev server is:

pytz required calculate future run times cron jobs timezones 

even though have pytz.

are in standard or flexible environment?

for standard environment, following isn't helpful:

libraries: - name: pytz   version: latest 

because google not provide pytz. maybe cause of problem...

i upload pytz app , make sure on python search path. e.g., in root directory of project or in folder you've added vendor.add. don't ever error see.

i assume using 1 of gae specific versions of pytz (like one) , not general 1 because can't use general one.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -