Update gcalcron.py

Hi 
Needed global flags on line 406 to fix error.