Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Run certain commands only once for multiple files #28

Open
caco3 opened this issue Sep 28, 2019 · 0 comments
Open

Request: Run certain commands only once for multiple files #28

caco3 opened this issue Sep 28, 2019 · 0 comments

Comments

@caco3
Copy link

caco3 commented Sep 28, 2019

Currently a task is added to the scheduler for every individual file.
This can be inefficient.

Example:

  1. The camera uploads a larger group of photos within a short time.
  2. Each photo creates a task
  3. All tasks get run one after the other on the next cron run.

Most scripts need to have the occ files:scan after their work, how ever that can be slow.

Idea:

Add a way that a script only gets run after all other tasks in one cron intrerval got run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants