Timeline for How to handle batch operations when the user machine gets into suspended mode?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 18, 2023 at 9:34 | comment | added | avpaderno♦ | (Essentially, with batch operations, it is the browser that causes the operations to progress, by requesting a page at pre-set intervals and with a different parameter value.) | |
| Mar 18, 2023 at 9:28 | comment | added | avpaderno♦ | Batch operations require the browser to stay connected to the server for the full duration of the operations. Once the browser disconnects from the server, batch operations are interrupted. The only way to avoid that is using Drush or using the queue API and cron tasks, but in the latter case, it will be necessary to run cron more times. | |
| Feb 23, 2023 at 4:23 | history | edited | Abhi Das | CC BY-SA 4.0 | deleted 46 characters in body |
| Feb 22, 2023 at 19:06 | review | Close votes | |||
| Mar 18, 2023 at 9:35 | |||||
| Feb 22, 2023 at 18:58 | comment | added | norman.lol | That's a job for the Queue API that will finish things on cron. User action will add items to queue. Cron will process. No session necessary. | |
| Feb 22, 2023 at 18:37 | comment | added | mona lisa | There are apps that prevent hibernation at the touch of a button, for example: apps.apple.com/us/app/amphetamine/id937984704?mt=12 Use one. | |
| Feb 22, 2023 at 18:20 | history | edited | Abhi Das | CC BY-SA 4.0 | added 236 characters in body |
| Feb 22, 2023 at 18:18 | comment | added | Kevin | The connection to the client cannot be killed. They can prevent the machine from going into suspend mode. Otherwise create/run Drush commands to do this same work in the background from a scheduled job. | |
| S Feb 22, 2023 at 18:16 | review | First questions | |||
| Feb 23, 2023 at 0:06 | |||||
| S Feb 22, 2023 at 18:16 | history | asked | Abhi Das | CC BY-SA 4.0 |