Commit 80f68c8
aden.chen
Filter cron jobs by TriggerType before processing
Only cron jobs with a TriggerType of BackgroundWatcher are now processed. Introduced allowedCrons to hold the filtered list and updated iteration logic to use this list.1 parent 0abd1c8 commit 80f68c8
File tree
1 file changed
+2
-1
lines changed- src/Infrastructure/BotSharp.Core.Crontab/Services
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments