Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Env variable to setup cron schedule #70

Closed
1 task done
xRahul opened this issue Sep 9, 2024 · 4 comments
Closed
1 task done

[FEAT] Env variable to setup cron schedule #70

xRahul opened this issue Sep 9, 2024 · 4 comments

Comments

@xRahul
Copy link

xRahul commented Sep 9, 2024

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Can we have an env variable to setup cron schedule?

Reason for change

I'm not sure how to set the frequency of updates. But during update everything becomes very slow, so it'd help if we can change it. It is there in main freshrss image also

Proposed code change

No response

Copy link

github-actions bot commented Sep 9, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented Sep 9, 2024

@xRahul
Copy link
Author

xRahul commented Sep 11, 2024

@aptalca so the current way is to use the mod https://github.com/linuxserver/docker-mods/tree/universal-cron and setup a cron here?
In that case, how does the background update happen right now in freshrss? I thought it's being managed via some cron that executes at some time intervals and updates the feeds

@aptalca
Copy link
Member

aptalca commented Sep 11, 2024

This is the current abc crontab used in the container: https://github.com/linuxserver/docker-freshrss/blob/master/root/etc/crontabs/abc#L2

The mod makes the abc crontab available for editing in the config folder, which should be mapped on your host. I don't recall off the top of my head whether the mod will copy that crontab in use to the config folder or just create a blank one for you to edit. But the original one is linked above and it's set to run every 15 minutes.

@xRahul xRahul closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants