edv / docker-spotweb

Dockerfile to easily set up Spotweb using Docker on the Raspberry Pi (or any compatible arm chipset) and regular x86 chipsets
MIT License
27 stars 19 forks source link

Amend the Cron Sheduling? #50

Closed DrFrankensteinUK closed 9 months ago

DrFrankensteinUK commented 1 year ago

Hey I recently swapped one of my Synology guides over to your container image as it make things much easier to set up. However I have had a question relating to the Cron. Is there any way to amend it's frequency?

Appreciate your work.

https://drfrankenstein.co.uk/2023/06/11/spotweb-in-container-manager-on-synology-nas/

Also wanted to mention I do a split of coffee money I get across the year to anyone who I featured in a guide so around October I will ping you part of the split if you have Github Sponsors enabled.

Thanks

DrFrankensteinUK commented 10 months ago

Hey @edv - Sorry to bump but would this be possible to amend via an environment variable rather than have the hard 5 mins updates. I have had a couple of users ask as they allow their drives to hibernate and wanted to do an update daily.

edv commented 9 months ago

Very good idea, I just implemented this and pushed it! I update the documentation on how to change the update interval in the docs. Let me know if you run into any problems.

Change Spotweb update interval

DrFrankensteinUK commented 9 months ago

Thanks much appreciated – let me know your Paypal or something I will ping over some £'s in a couple of weeks.

edv commented 9 months ago

Thanks for the offer, but that's not necessary 👍 (if you still have some £ to spare, do wire it to a charity)