This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ip-172-1-1-142:~# calicoctl bgp peer show | |
No global IPv4 BGP Peers defined. | |
No global IPv6 BGP Peers defined. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
NewerOlder