Skip to content

Build your personal knowledge base with Trilium Notes

fixes

zadam333748706304
diff --git a/package-lock.json b/package-lock.json
index 339668e0f7..72ac9508bc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -74,7 +74,7 @@
"jsdoc": "3.6.6",
"lorem-ipsum": "2.0.3",
"rcedit": "3.0.0",
- "webpack": "5.31.0",
+ "webpack": "5.31.2",
"webpack-cli": "4.6.0"
},
"optionalDependencies": {
@@ -9576,9 +9576,9 @@
}
},
"node_modules/webpack": {
- "version": "5.31.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.31.0.tgz",
- "integrity": "sha512-3fUfZT/FUuThWSSyL32Fsh7weUUfYP/Fjc/cGSbla5KiSo0GtI1JMssCRUopJTvmLjrw05R2q7rlLtiKdSzkzQ==",
+ "version": "5.31.2",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.31.2.tgz",
+ "integrity": "sha512-0bCQe4ybo7T5Z0SC5axnIAH+1WuIdV4FwLYkaAlLtvfBhIx8bPS48WHTfiRZS1VM+pSiYt7e/rgLs3gLrH82lQ==",
"dev": true,
"dependencies": {
"@types/eslint-scope": "^3.7.0",
@@ -18083,9 +18083,9 @@
"integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w=="
},
"webpack": {
- "version": "5.31.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.31.0.tgz",
- "integrity": "sha512-3fUfZT/FUuThWSSyL32Fsh7weUUfYP/Fjc/cGSbla5KiSo0GtI1JMssCRUopJTvmLjrw05R2q7rlLtiKdSzkzQ==",
+ "version": "5.31.2",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.31.2.tgz",
+ "integrity": "sha512-0bCQe4ybo7T5Z0SC5axnIAH+1WuIdV4FwLYkaAlLtvfBhIx8bPS48WHTfiRZS1VM+pSiYt7e/rgLs3gLrH82lQ==",
"dev": true,
"requires": {
"@types/eslint-scope": "^3.7.0",
diff --git a/package.json b/package.json
index d552847c56..0a6a219ef2 100644
--- a/package.json
+++ b/package.json
@@ -87,7 +87,7 @@
"jsdoc": "3.6.6",
"lorem-ipsum": "2.0.3",
"rcedit": "3.0.0",
- "webpack": "5.31.0",
+ "webpack": "5.31.2",
"webpack-cli": "4.6.0"
},
"optionalDependencies": {
diff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.js b/src/public/app/widgets/attribute_widgets/attribute_detail.js
index 3702fcec9e..5a88809db0 100644
--- a/src/public/app/widgets/attribute_widgets/attribute_detail.js
+++ b/src/public/app/widgets/attribute_widgets/attribute_detail.js
@@ -182,11 +182,11 @@ const ATTR_HELP = {
<ul>
<li>frontendStartup - when Trilium frontend starts up (or is refreshed).</li>
<li>backendStartup - when Trilium backend starts up</li>
- <li>hourly - run once an hour. You can use additional label <code>runAtHours</code> to specify at which hour.</li>
+ <li>hourly - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour.</li>
<li>daily - run once a day</li>
</ul>`,
"runOnInstance": "Define which trilium instance should run this on. Default to all instances.",
- "runAtHour": "On which hour should this run. Should be used together with <code>#run=hourly</code>",
+ "runAtHour": "On which hour should this run. Should be used together with <code>#run=hourly</code>. Can be defined multiple times for more runs during the day.",
"disableInclusion": "scripts with this label won't be included into parent script execution.",
"sorted": "keeps child notes sorted by title alphabetically",
"hidePromotedAttributes": "Hide promoted attributes on this note",
diff --git a/src/services/attributes.js b/src/services/attributes.js
index 784bc1c603..144a539f67 100644
--- a/src/services/attributes.js
+++ b/src/services/attributes.js
@@ -26,7 +26,7 @@ const BUILTIN_ATTRIBUTES = [
{ type: 'label', name: 'keyboardShortcut' },
{ type: 'label', name: 'run', isDangerous: true },
{ type: 'label', name: 'runOnInstance', isDangerous: false },
- { type: 'label', name: 'runAtHours', isDangerous: false },
+ { type: 'label', name: 'runAtHour', isDangerous: false },
{ type: 'label', name: 'customRequestHandler', isDangerous: true },
{ type: 'label', name: 'customResourceProvider', isDangerous: true },
{ type: 'label', name: 'widget', isDangerous: true },