old_contents: from apscheduler.schedulers.blocking import BlockingScheduler
  import os
  import shutil
  
  sched = BlockingScheduler()
  
  @sched.scheduled_job('cron', day_of_week='mon-sun', hour=9)
  def scheduled_job():
      print('New job: packtpub-crawler')
      shutil.rmtree('./ebooks', ignore_errors=True)
      os.system('python script/spider.py --config config/prod.cfg --upload drive --store firebase --notify')
  
  sched.start()
  
new_contents: from apscheduler.schedulers.blocking import BlockingScheduler
  import os
  import shutil
  
  sched = BlockingScheduler()
  
  @sched.scheduled_job('cron', day_of_week='mon-sun', hour=9)
  def scheduled_job():
      print('New job: packtpub-crawler')
      shutil.rmtree('./ebooks', ignore_errors=True)
      os.system('python script/spider.py --config config/prod.cfg --upload drive --store firebase --notify gmail')
  
  sched.start()
  
subject: fix notify scheduler