- install docker
- download image and start container
docker run -d -p 3000:3000 browserless/chrome
- install packages
pip install selenium schedule
- set env variables
export EHALL_USERNAME=xxx; export EHALL_PASSWARD=xxx; export DAKA_ADRESS=xxx
start the script python daka.py
@repeat(every().day.at('10:30')) # (1)
# @repeat(every(2).seconds) # (2)
def job():
msg = daka()
timestamp = get_time_str()
print(f'{timestamp}: {msg}')
try comment (1) and uncomment(2)to test if working properly