pull/6/head
nineven 4 years ago
parent 8222ad2df5
commit d5f1ff07df
  1. 8
      fir_ser/api/utils/crontab/run.py
  2. 1
      fir_ser/cli.py

@ -49,10 +49,10 @@ try:
auto_delete_tmp_file()
# @register_job(scheduler, "interval",
# seconds=SYNC_CACHE_TO_DATABASE.get("auto_check_ios_developer_active_times"))
# def auto_check_ios_developer_active_job():
# auto_check_ios_developer_active()
@register_job(scheduler, "interval",
seconds=SYNC_CACHE_TO_DATABASE.get("auto_check_ios_developer_active_times"))
def auto_check_ios_developer_active_job():
auto_check_ios_developer_active()
register_events(scheduler)

@ -260,4 +260,5 @@ if __name__ == '__main__':
app_path = sys.argv[1]
if os.path.isfile(app_path):
fly_obj.upload_app(app_path)
else:
raise FileNotFoundError(app_path)

Loading…
Cancel
Save