Skip to content

Instantly share code, notes, and snippets.

View bfeldman89's full-sized avatar

Blake Feldman bfeldman89

View GitHub Profile
@bfeldman89
bfeldman89 / pa_sched.py
Created December 26, 2019 04:46
hourly script to automate my scripts of pythonanywhere.com
# !/usr/bin/env python3
"""
This module runs all of my scrapers that don't require the pdfkit module bc pythonanywhere doesn't support it.
It is scheduled to run every hour at 20min past the hour. The idea is that my locally run cron job that runs at
5min past the hour shouldn't take more than 15min. The pythonanywhere scheduled task is as follows:
20 * * * * source ~/.bashrc && cd ~/code && python3 pa_sched.py && python3 jail_scrapers/scrapers.py
"""
import os
import time
icon unicode html
address-book f2b9 <i class='fa fas-address-book'></i>
address-card f2bb <i class='fa fas-address-card'></i>
adjust f042 <i class='fa fas-adjust'></i>
align-center f037 <i class='fa fas-align-center'></i>
align-justify f039 <i class='fa fas-align-justify'></i>
align-left f036 <i class='fa fas-align-left'></i>
align-right f038 <i class='fa fas-align-right'></i>
allergies f461 <i class='fa fas-allergies'></i>
ambulance f0f9 <i class='fa fas-ambulance'></i>
😀 Grinning Face
😁 Beaming Face With Smiling Eyes
😂 Face With Tears of Joy
🤣 Rolling on the Floor Laughing
😃 Grinning Face With Big Eyes
😄 Grinning Face With Smiling Eyes
😅 Grinning Face With Sweat
😆 Grinning Squinting Face
😉 Winking Face
😊 Smiling Face With Smiling Eyes

Keybase proof

I hereby claim:

  • I am bfeldman89 on github.
  • I am bfeldman89 (https://keybase.io/bfeldman89) on keybase.
  • I have a public key ASCQ2chqz0oqU2CkDmjcg73JgTBV0bJBELRVcNgqCfXigwo

To claim this, I am signing this object: