Example #1
0
 def after_update(self, id: str = None) -> None:
     """
     After each spider is updated, update the cron scheduler correspondingly.
     :param id: spider_id
     """
     scheduler.update()
Example #2
0
 def after_update(self, id=None):
     scheduler.update()