|
@@ -27,8 +27,8 @@ class Config(object):
|
|
|
'args': '',
|
|
|
'trigger': 'cron',
|
|
|
'day_of_week': 'tue',
|
|
|
- 'hour': 9,
|
|
|
- 'minute': 40
|
|
|
+ 'hour': 10,
|
|
|
+ 'minute': 50
|
|
|
},
|
|
|
{
|
|
|
'id': 'week_push_two',
|
|
@@ -74,12 +74,13 @@ class Funcs(object):
|
|
|
|
|
|
@staticmethod
|
|
|
def minute_push_elab():
|
|
|
- pdu = PandaUtil('linshi')
|
|
|
- sql = 'select house_id, COUNT(house_id) as number from t_house_image group by house_id limit 5'
|
|
|
- file_name = 'pandas_chart_columns2{}.xlsx'.format(time.time())
|
|
|
- df_data = pdu.query_data(sql)
|
|
|
- print(df_data.size)
|
|
|
- pdu.panda_chart([df_data], 1, 'title x', 'title y', file_name)
|
|
|
+ # pdu = PandaUtil('linshi')
|
|
|
+ # sql = 'select house_id, COUNT(house_id) as number from t_house_image group by house_id limit 5'
|
|
|
+ # file_name = 'pandas_chart_columns2{}.xlsx'.format(time.time())
|
|
|
+ # df_data = pdu.query_data(sql)
|
|
|
+ # print(df_data.size)
|
|
|
+ # pdu.panda_chart([df_data], 1, 'title x', 'title y', file_name)
|
|
|
+ print('wwwww')
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|