Revadike / epicgames-freebies-claimer

Claim available free game promotions from the Epic Games Store.
MIT License
2.23k stars 361 forks source link

Docker auto run every week #147

Closed adi170-alt closed 2 years ago

adi170-alt commented 2 years ago

Hi I am running docker on my Raspberry Pi 4(Debian) and my question is i it is possible to auto run it every week or like every 2 days if needed, maybe I didn't read it right, but it seems like there is nothing about docker autostart(only windows) so again, my question is if it is possible to have docker autorun this(for example npm run) (I have my Raspberry Pi always turned on)

Revadike commented 2 years ago

In data/config.json you can configure it to autoloop every week.

jackblk commented 2 years ago

If you use Docker on Rasp, you can use Cron to schedule

If you want to use systemd then it's in the same link. You will need to read and config a little bit though.

adi170-alt commented 2 years ago

In data/config.json you can configure it to autoloop every week.

Thank u, that worked! (Earlier I didn't have config.json because I just git cloned this repository) (I use tmux to let it run in the background) (Update: I wrote down what I did for linux with the help op revadike and jackblk https://pastebin.com/uHAxGrwm )