{"size": 350, "ext": "js", "max_stars_repo_path": "service/app/schedule/my_task.js", "max_stars_repo_name": "taoqianbao/tqb-antd-admin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "service/app/schedule/my_task.js", "max_issues_repo_name": "taoqianbao/tqb-antd-admin", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "service/app/schedule/my_task.js", "max_forks_repo_name": "taoqianbao/tqb-antd-admin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.875, "max_line_length": 96, "alphanum_fraction": 0.5542857143}
'use strict';

module.exports = {
  schedule: {
    interval: '1m', // 1 分钟间隔
    type: 'all', // 指定所有的 worker 都需要执行
  },
  async task(ctx) {
    ctx.app.count = Date.now();
    // const res = await ctx.curl('http://rap2api.taobao.org/app/mock/9893/GET/news/catagory', {
    //   dataType: 'json',
    // });
    // ctx.app.cache = res.data;
  },
};
