-
Hi, Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 8 replies
-
Run
which will run it every day at 19:55. Note that the scheduled command does not include |
Beta Was this translation helpful? Give feedback.
-
thank you very much! |
Beta Was this translation helpful? Give feedback.
-
May I ask another question on that issue?! What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Thanks again, I meanwhile found this: I was not sure which solution was correct -i or --tty. Can I just leave it blank? |
Beta Was this translation helpful? Give feedback.
-
editing CRON on unraid systems is not advised. on Unraid, it is recommended to use "user scripts" plugin |
Beta Was this translation helpful? Give feedback.
-
It'r running on an Proxmox server?! |
Beta Was this translation helpful? Give feedback.
-
If you are working with a
|
Beta Was this translation helpful? Give feedback.
-
If you want to run it from a Open the user crontab with
It will start every day the container at 17:30 and remove the running container afterwards. Edit the path to your |
Beta Was this translation helpful? Give feedback.
-
Well I already have the docker installed, so could I just point the path to
my already installed one? Because if I don't it seems to install another
instance
…On Tue, May 30, 2023, 1:34 PM João Alves ***@***.***> wrote:
If you want to run it from a docker-compose.yml file, this is the best
approach.
30 17 * * * docker compose -f ~/.projects/free-games-claimer/docker-compose.yml run --rm free-games-claimer
It will start every day the container at 17:30.
Edit the path to your docker-compose.yml file and you are good to go.
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2JRJSSCO7XVV53MXEDEWTXIYVUDANCNFSM6AAAAAAUX7TVSY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I do have FGC working, I do have properly set cron: |
Beta Was this translation helpful? Give feedback.
-
If you're using compose, and you want the daily scheduling to be self-contained (i.e., no cron), this compose appears to work for me. I'm currently testing, but I set it yesterday and it claimed a game for me today: services:
free-games-claimer:
container_name: fgc
image: ghcr.io/vogler/free-games-claimer
build: .
ports:
- 6080:6080
environment:
- TZ=America/Toronto
env_file:
- /opt/appdata/fgc/.secrets.env
volumes:
- /opt/appdata/fgc:/fgc/data #your config file location
command: bash -c "node prime-gaming; node gog; echo sleeping; sleep 1d; docker restart fgc" #add node epic; if you want to try epic again
restart: unless-stopped |
Beta Was this translation helpful? Give feedback.
Run
crontab -e
to edit your cronjobs and addwhich will run it every day at 19:55.
Note that the scheduled command does not include
-it
which is only needed for the initial login prompts.