work on ceo and extra jobs for shorts

This commit is contained in:
Boki 2025-06-24 22:55:22 -04:00
parent b30c79542b
commit 44c087aaae
3 changed files with 40 additions and 14 deletions

View file

@ -21,13 +21,23 @@ export class CeoHandler extends BaseHandler {
})
getChannels = getChannels;
@Operation('update-unique-symbols')
@ScheduledOperation('update-unique-symbols', '0 0 1 * *', {
@Operation('update-unique-symbols-posts')
@ScheduledOperation('update-unique-symbols-posts', '30 * * * *', {
priority: 5,
immediately: false,
description: 'Process unique CEO symbols and schedule individual jobs',
payload: { action: 'get-posts' }
})
updateUniqueSymbols = updateUniqueSymbols;
updateUniqueSymbolsPosts = updateUniqueSymbols;
@Operation('update-unique-symbols-shorts')
@ScheduledOperation('update-unique-symbols-shorts', '0 0 * * *', {
priority: 5,
immediately: false,
description: 'Process unique CEO symbols and schedule individual jobs',
payload: { action: 'get-posts' }
})
updateUniqueSymbolsShots = updateUniqueSymbols;
@Operation('get-posts')
getPosts = getPosts;