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

Implement a web-cron #613

Closed
marienfressinaud opened this issue Sep 11, 2014 · 13 comments
Closed

Implement a web-cron #613

marienfressinaud opened this issue Sep 11, 2014 · 13 comments

Comments

@marienfressinaud
Copy link
Member

In order to schedule events (e.g. actualize feeds, check for updates), it would be useful to have a web-cron instead only a standard Cron. This must be optional and determined by administrator.

More information on http://www.smashingmagazine.com/2013/10/16/schedule-events-using-wordpress-cron/

See #585

@qwertygc
Copy link

Bonjour,
Oú en est ce point ?

@Frenzie
Copy link
Member

Frenzie commented May 27, 2017

@qwertygc The most important part of this already exists: https://votre.serveur.net/FreshRSS/p/i/?c=feed&a=actualize

You'll need to call that from someplace else of course, but that shouldn't be much of a problem even when real cron isn't available (e.g., on shared hosts).

@planetahuevo
Copy link

Trying to use that URL returns an error 403 on my install.
I am not able to make the CRON work for me using PHP either so this was the best solution, but it is not working.
Any ideas on implementing an "update link" for using wget on my crontab? Thanks

@Frenzie
Copy link
Member

Frenzie commented Sep 29, 2017

You might need something like a token or HTTP authentication.

https://freshrss.github.io/FreshRSS/en/users/03_Main_view.html#global-view

@planetahuevo
Copy link

planetahuevo commented Sep 29, 2017

I cannot see that option on my install 1.7.0.
And this should be easier to setup. Without a proper cronjob, the whole system does not work...

@Frenzie
Copy link
Member

Frenzie commented Sep 29, 2017

It's in the settings (top right). You might want to enable anonymous refresh for simplicity. It shouldn't really matter that any random person can refresh your feeds because the refresh rate should be limited from within FreshRSS regardless. (Unless that's different for this refresh method, @Alkarex?)

screenshot_2017-09-29_21-23-58

@planetahuevo
Copy link

planetahuevo commented Sep 29, 2017

I couldn´t change that on my options (not sure why) but it worked editing the config file manually.
Also it is important to check the default time to refresh, because you can think the cron is not working, and be working, like mine... 👍
Thanks!

@Alkarex
Copy link
Member

Alkarex commented Sep 30, 2017

@Frenzie That is correct :-)

@Alkarex
Copy link
Member

Alkarex commented Dec 22, 2017

We should add to the documentation how to use the existing Web cron possibility, also to target other users than the default one:

https://freshrss.example.net/i/?c=feed&a=actualize&user=someone&token=ABCDEFabdcef01234

Any volunteer? :-)

@opitux This is relevant for your case

@Alkarex
Copy link
Member

Alkarex commented Dec 22, 2017

@Frenzie To a great extent yes, but not in combination with the &user=someone parameter, as far as I can see

@Frenzie
Copy link
Member

Frenzie commented Dec 22, 2017

So basically just an extra line in that section? I'll add it later.

@Alkarex Alkarex modified the milestones: 1.11.0, 1.12.0 May 23, 2018
@Alkarex Alkarex modified the milestones: 1.12.0, 1.13.0 Oct 14, 2018
Frenzie added a commit to Frenzie/FreshRSS that referenced this issue Nov 18, 2018
Alkarex pushed a commit that referenced this issue Nov 18, 2018
* [docs] Add note about specific user for webcron

Cf. #613 (comment)

* Small changes

* Use one of the RFC addresses for examples
@Alkarex Alkarex modified the milestones: 1.13.0, 1.14.0 Dec 16, 2018
@Alkarex Alkarex modified the milestones: 1.13.1, 1.14.0 Dec 27, 2018
@Alkarex Alkarex modified the milestones: 1.14.0, 1.15.0 Mar 9, 2019
@Alkarex Alkarex modified the milestones: 1.15.0, 1.16.0 Sep 29, 2019
@Alkarex
Copy link
Member

Alkarex commented Oct 2, 2019

@Alkarex Alkarex closed this as completed Oct 2, 2019
javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
* [docs] Add note about specific user for webcron

Cf. FreshRSS#613 (comment)

* Small changes

* Use one of the RFC addresses for examples
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this issue Mar 25, 2021
* [docs] Add note about specific user for webcron

Cf. FreshRSS#613 (comment)

* Small changes

* Use one of the RFC addresses for examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants