antonengelhardt / kicktipp-bot

A bot which can submit tips for a Kicktipp competition based on quotes.
MIT License
14 stars 5 forks source link

Do not schedule by default #32

Open antonengelhardt opened 2 months ago

antonengelhardt commented 2 months ago

The main difference between my approach and yours is that this tool is...

  1. it is intended to be run as a job not as a service. So it will stop immediately after checking the games and requires an external scheduling tool such as Cron, GCP Cloud Run Code Triggers or AWS EventBridge.

We could introduce a flag --schedule X to tell the bot to schedule itself on a given interval X. If not set, the bot will run once and other tools can schedule it.

[...]

Originally posted by @tbrodbeck in https://github.com/antonengelhardt/kicktipp-bot/issues/28#issuecomment-2182093814