- Refactor cron matching to use individual variables for each time component with additional debug logging - Replace SETEX with atomic SET NX EX for job locking in Redis - Add better error handling and logging for job execution tracking - Skip execution if Redis is unavailable or job is already held - Add verbose flag to LLM server startup command for better logging
12 lines
No EOL
348 B
QBasic
12 lines
No EOL
348 B
QBasic
SET_SCHEDULE "37 * * * *"
|
|
|
|
let text = GET "announcements.gbkb/news/news.pdf"
|
|
let resume = LLM "In a few words, resume this: " + text
|
|
|
|
SET_BOT_MEMORY "resume", resume
|
|
|
|
let text1 = GET "announcements.gbkb/auxiliom/auxiliom.pdf"
|
|
SET_BOT_MEMORY "auxiliom", text1
|
|
|
|
let text2 = GET "announcements.gbkb/toolbix/toolbix.pdf"
|
|
SET_BOT_MEMORY "toolbix", text2 |