Stark9837, Is the best way to run periodic functions, not necessary time-critical, just needs to happen in the correct hour or day, #cronjobs
I am running a #Python bot in a #Docker container, but want weekly or daily things to happen. Adding this to the main loop seems inefficient, because checks will unnecessary be done.
Should I rather use a #Linux image, run the script in the container and then just have cronjobs running in the container, rather than using a Python image.
Storage, memory and processing isn't actually a problem, so using a larger and beefier image is possible.
Add comment