Replies: 3 comments 6 replies
-
what container to run this in? |
Beta Was this translation helpful? Give feedback.
5 replies
-
that's actually a good solution though. Because nextcloud aio does not have systemd(at least when i tried to use it) that could actually work, unlike the systemd way of doing it
Sent with [Proton Mail](https://proton.me/mail/home) secure email.
…On Wednesday, July 2nd, 2025 at 1:40 AM, derStephan ***@***.***> wrote:
Ok, here is what I have done for AIO on the physical host:
sudo bash
nano /root/taskprocessing.sh
put the content of ***@***.***(https://github.com/szaimen) in and save the file, then do
chmod +x /root/taskprocessing.sh
crontab -e
append the following and save
@reboot /root/taskprocessing.sh
This works for me on Ubuntu 24.04 without adding systemd service
—
Reply to this email directly, [view it on GitHub](#5430 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BRQHGN2H6JVEVKTM7F53TKT3GOLGZAVCNFSM6AAAAACAHZ5XBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRTHAYTMMQ).
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
ohhhhhh. well that makes much more sense now.
Sent with [Proton Mail](https://proton.me/mail/home) secure email.
…On Thursday, July 3rd, 2025 at 1:04 AM, derStephan ***@***.***> wrote:
AIO does not have to have systemd. This is to be done on the host.
—
Reply to this email directly, [view it on GitHub](#5430 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BRQHGN2TEBUIIXYD3BIX3V33GTPYDAVCNFSM6AAAAACAHZ5XBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRUHEZDONQ).
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Most AI tasks will be run as part of the background job system in Nextcloud which only runs jobs every 5 minutes by default. To pick up scheduled jobs faster you can set up background job workers that process AI tasks as soon as they are scheduled. If the PHP code or the Nextcloud settings values are changed while a worker is running, those changes won’t be effective inside the runner. For that reason, the worker needs to be restarted regularly. It is done with a timeout of N seconds which means any changes to the settings or the code will be picked up after N seconds (worst case scenario). This timeout does not, in any way, affect the processing or the timeout of the AI tasks.
Use these instructions https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html#systemd-service but in step 2, use the following script:
Beta Was this translation helpful? Give feedback.
All reactions