nextcloud / nextcloud/workflow_script
Run script immediatly after trigger
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 89
- Forks
- 19
- Avg merge
- 6h 38m
- Merged PRs (30d)
- 3
Description
Currently the scripts are run with the next cron job.
This is not usable for some cases, e.g. I try to lock a file with an other app if it's opened or updated.
I don't want to trigger cron any 10 secounds because there are other jobs like generating previews and file scan etc.
Other APP like https://github.com/nextcloud/files_accesscontrol are grip immediatly.
How can I configure this direct behavior with workflow_script?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by tracing how workflow_script handles triggers and defers scripts to cron, then compare the requested immediate behavior with the linked files_accesscontrol app; done means scripts can run immediately after the relevant trigger without increasing the cron frequency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100