feat(bookdrop): add ability to poll the bookdrop folder (#2768)
* feat(bookdrop): add ability to poll the bookdrop folder * fix(bookdrop): Modify bookdrop scan behavior to only enqueue newly seen files to reduce duplicate log messages
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
INSERT INTO task_cron_configuration (task_type, cron_expression, enabled, created_by)
|
||||
SELECT 'BOOKDROP_PERIODIC_SCANNING', '0 */10 * * * *', FALSE, -1
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM task_cron_configuration WHERE task_type = 'BOOKDROP_PERIODIC_SCANNING'
|
||||
);
|
||||
Reference in New Issue
Block a user