Skip to content

Commit

Permalink
Test scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
adityabindal committed Feb 10, 2017
1 parent 86762c5 commit fe3381d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -74,7 +74,7 @@ def main():
gps_Harper=getGPS('5807 S Woodlawn Ave, Chicago, IL 60637');
productIDs=getProducts(accessToken,gps_Shoreham.latitude,gps_Shoreham.longitude)

while time.localtime().tm_hour<18:
while time.localtime().tm_hour<19 & tm.minute<=30:
getPrice(productIDs,gps_MPP.latitude,gps_MPP.longitude,gps_Harper.latitude,gps_Harper.longitude)
getPrice(productIDs,gps_Shoreham.latitude,gps_Shoreham.longitude,gps_Harper.latitude,gps_Harper.longitude)
getPrice(productIDs,gps_Harper.latitude,gps_Harper.longitude,gps_MPP.latitude,gps_MPP.longitude)
Expand Down

0 comments on commit fe3381d

Please sign in to comment.