#3501 - Poor-mans-Cron

Identifier #3501
Issue type Feature request or suggestion
Title Poor-mans-Cron
Status Completed
Tags

Roadmap: v11 (custom)

Handling member PDStig
Version 11 beta2
Addon core
Description Allow Cron to work via AJAX requests sent in the background of regular page visits.

Do this automatically if Cron has not been set up properly.

Cron should not be flagged as properly running when run via this mode.
Steps to reproduce

Additional information Really I'd prefer to encourage people to just set up Cron properly, but there are pros and cons.

Advantages:
- Saves effort of having to set up Cron
- Some users may not be able to set up Cron due to lack of knowledge
- Some users may not be able to set up Cron due to lack of Cron functionality available to them
- Can be used for background caching on a fresh install, to improve perceived initial slowness (to leave a better first impression)

Disadvantages:
- Irregular Cron
- Infrequent Cron (bots probably wouldn't trigger AJAX, and if we did it via something like an <img> tag then onload wouldn't trigger quickly enough)
- Likely to cause load spikes
Funded? No
Commits

Implemented MANTIS-3501 (Poor-mans-Cron) (25e99811) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated