You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves#2786Fixes#2796
## Changes
- Enables setting and viewing custom cron schedules.
- Custom cron option with support for cron macros @hourly, @daily, @Weekly, @monthly, @Yearly
- Updated documentation for crontab, with links to crontab.guru
Copy file name to clipboardExpand all lines: frontend/docs/docs/user-guide/workflow-setup.md
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -318,9 +318,6 @@ Automatically start crawls periodically on a daily, weekly, or monthly schedule.
318
318
319
319
### Crawl Schedule Type
320
320
321
-
#### Run Immediately on Save
322
-
: When selected, the crawl will run immediately as configured. It will not run again unless manually instructed.
323
-
324
321
#### Run on a Recurring Basis
325
322
: When selected, additional configuration options for instructing the system when to run the crawl will be shown. If a crawl is already running when the schedule is set to activate it, the scheduled crawl will not run.
326
323
@@ -331,6 +328,26 @@ Automatically start crawls periodically on a daily, weekly, or monthly schedule.
331
328
332
329
Set how often a scheduled crawl will run.
333
330
331
+
#### Options
332
+
333
+
All option support specifying the specific hour and minute the crawl should run.
334
+
335
+
##### Daily
336
+
337
+
Run crawl once every day.
338
+
339
+
##### Weekly
340
+
341
+
Run crawl once every week.
342
+
343
+
##### Monthly
344
+
345
+
Run crawl once every month.
346
+
347
+
##### Custom
348
+
349
+
Run crawl at a custom interval, such as hourly or yearly. See [Cron Schedule](#cron-schedule) for details.
350
+
334
351
### Day
335
352
336
353
Sets the day of the week for which crawls scheduled with a `Weekly`_Frequency_ will run.
@@ -343,6 +360,33 @@ Sets the date of the month for which crawls scheduled with a `Monthly` _Frequenc
343
360
344
361
Sets the time that the scheduled crawl will start according to your current timezone.
345
362
363
+
### Cron Schedule
364
+
365
+
When using a `Custom`_Frequency_, a custom schedule can be specified by using a Cron expression or supported macros.
366
+
367
+
Cron expressions should follow the Unix Cron format:
368
+
369
+
| Position | * | * | * | * | * |
370
+
| - | - | - | - | - | - |
371
+
|**Description**| minute | hour | day of the month | month | day of the week |
For example, `0 0 31 12 *` would run a crawl on December 31st every year and `0 0 * * fri` would run a crawl every Friday at midnight.
375
+
376
+
Additionally, the following macros are supported:
377
+
378
+
| Value | Description |
379
+
| - | - |
380
+
|`@yearly`| Run once a year at midnight of 1 January |
381
+
|`@monthly`| Run once a month at midnight of the first day of the month |
382
+
|`@weekly`| Run once a week at midnight on Sunday |
383
+
|`@daily`| Run once a day at midnight |
384
+
|`@hourly`| Run once an hour at the beginning of the hour |
385
+
386
+
You can use a tool like [crontab.guru](https://crontab.guru/) to check Cron syntax validity and view [common expressions](https://crontab.guru/examples.html).
387
+
388
+
Cron schedules are always in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
389
+
346
390
## Metadata
347
391
348
392
Describe and organize your crawl workflow and the resulting archived items.
0 commit comments