Working boilerplate to automatically fill activity on BoondManager. Tweak to your liking.
virtualenv venv
source venv/bin/activate
pip install -r requirements.txtThen create these two files
~/.config/systemd/user/boondmanager-activity-bot.timer
[Unit]
Description=Run boondmanager-activity-bot.service
[Timer]
OnCalendar=Fri *-*-1..7 11:30:00
Persistent=true
[Install]
WantedBy=timers.target~/.config/systemd/user/boondmanager-activity-bot.service
[Unit]
Description=BoondManager Activity Bot
After=network.target
[Service]
ExecStart=bash -c "zenity --question --text=\"Time to fill the BoondManager activity 🔫\" && /path/to/boondmanager-activity-bot/venv/bin/python /path/to/boondmanager-activity-bot/main.py"
Environment="BOOND_PASSWORD=password"
Environment="BOOND_LOGIN=your@email.com"
Restart=noReplace
/path/to/boondmanager-activity-botwith the actual path of the cloned repopasswordwith your BoondManager passwordyour@email.comwith your BoondManager loginFri *-*-1..7 11:30:00with another systemd interval if needed (defaults to first Friday of the month at 11.30am)
And load the service & timer
systemctl --user daemon-reload
systemctl --user enable boondmanager-activity-bot.timer
systemctl --user start boondmanager-activity-bot.timerCheck that it has successfully been scheduled with
systemctl --user list-timers- Target the correct activity with XPath (+ text) rather than CSS