Skip to content

Instantly share code, notes, and snippets.

root@ip-172-1-1-142:~# calicoctl bgp peer show
No global IPv4 BGP Peers defined.
No global IPv6 BGP Peers defined.
import dropbox
class dropbox_monitor(NebriOS):
#Hourly cron for now, still poking at drips
schedule = "0 * * * *"
#The script is started by setting "dropbox_monitor_go to true as you suggested which starts the flow, the "code" is to restart the script when the confirmation code is enterd via an email form""
listens_to = ["dropbox_monitor_go", "code"]
#class attributes
app_key = 'APP_KEY'
app_secret = 'APP_SECRET'