Côme Chilliet
1ab09ec753
chore: Apply new coding standard to all files
...
The diff can be checked using: git diff --ignore-all-space --ignore-blank-lines
To see only the changes not related to blank lines.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2026-06-01 13:46:39 +02:00
Carl Schwan
0e686fc6a9
feat: Port jobs table to snowflakes ids
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-12-04 17:16:12 +01:00
Robin Appelman
1a9f7d5348
fix: delete background jobs by id when cleaning up
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-05-30 15:07:26 +02:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-24 13:11:22 +02:00
Julien Veyssier
d967151f52
fix(bg-jobs): review adjustments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-05-02 16:43:42 +02:00
Julien Veyssier
1acc57b5c0
feat(bg-jobs): allow setting a job class list instead of a single class in cron.php and the job worker occ command
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-05-02 16:43:41 +02:00
Marcel Klehr
352d79deee
fix(bg-jobs): fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-02 16:43:41 +02:00
Côme Chilliet
303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs
2024-02-08 18:27:44 +01:00
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
...
This reverts commit d9d60238c7 , reversing
changes made to ba3fdb0cdc .
2024-02-08 15:31:19 +01:00
Côme Chilliet
65981f99bf
chore: Migrate away from internal Job classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-02-08 10:28:29 +01:00
Marcel Klehr
1471849956
fix: Extend docblock of hasReservedJob
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2023-11-08 16:37:51 +01:00
Christoph Wurst
04ecc2a6a9
feat(backgroundjob): Schedule job after <timestamp>
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2023-09-29 10:29:40 +02:00
Simon L
d55a7c619d
Fix typos in lib/public subdirectory
...
Found via `codespell -q 3 -S l10n -L jus ./lib/public`
Signed-off-by: luz paz <luzpaz@github.com >
Update lib/public/Accounts/IAccount.php
Signed-off-by: luz paz <luzpaz@github.com >
Signed-off-by: Simon L <szaimen@e.mail.de >
Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com >
2023-05-10 11:56:34 +02:00
Marcel Klehr
c01c516323
feat(BackgroundJobs): Allow preventing parallel runs for a job class
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2023-04-23 12:36:12 +02:00
Côme Chilliet
d74044f634
Fix API breakage by using a new method instead
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2023-01-12 17:18:59 +01:00
Côme Chilliet
e74f464662
Remove deprecated method getAll instead of breaking API on deprecated method
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2023-01-12 17:13:08 +01:00
Côme Chilliet
679682c186
Use a Generator for job list to fix background-job:list command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2023-01-10 18:20:31 +01:00
Côme Chilliet
2e921f8b3d
Fix typing in IJobList
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2022-07-11 09:46:23 +00:00
Côme Chilliet
868d748dbf
Code cleaning of Background/ListCommand
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2022-07-11 09:46:23 +00:00
Côme Chilliet
3d01179907
Add command to list jobs
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2022-07-11 09:46:23 +00:00
Joas Schilling
b765f79368
Allow apps to specify if their background job can be delayed
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-02-07 13:54:54 +01:00
Joas Schilling
7239b3d560
Bump since version
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2021-10-14 09:57:16 +02:00
Joas Schilling
9cd9f4b4bc
Move queries to the joblist
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2021-10-14 09:57:16 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com >
2021-06-04 22:02:41 +02:00
Julius Härtl
45a474071e
Remove @package annotations from public namespace
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-08-26 16:59:40 +02:00
Morris Jobke
16d83ab30a
Remove getLastJob from IJobList
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2020-08-13 21:50:06 +02:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2019-12-05 15:38:45 +01:00
Morris Jobke
9ef6148bfa
Deprecated OCP interface to fetch background job type
...
* was not used by apps and also is not needed
* migrated the documentation to IJobList
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2018-01-26 10:43:01 +01:00
Morris Jobke
0eebff152a
Update license headers
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2017-11-06 16:56:19 +01:00
Noveen Sachdeva
1b1f403a5d
Add duration of last job execution to the table
2017-04-25 17:39:58 +02:00
Joas Schilling
0215b004da
Update with robin
2016-07-21 18:13:58 +02:00
Joas Schilling
ba87db3fcc
Fix others
2016-07-21 18:13:57 +02:00
Joas Schilling
d0a2fa0506
Lock jobs while executing them, to allow multiple executors to run in parallel
2016-05-21 01:59:25 +02:00
Roeland Jago Douma
fd371700a2
Move \OCP\BackgroundJob to PSR-4
2016-05-07 12:15:59 +02:00