should run on startup

This commit is contained in:
Andrzej Stepien 2023-08-12 18:42:05 +02:00
parent 0e04a8ed04
commit 4dcc369fbf
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import checkAndPublish from './checkAndPublish.mjs';
export default function start(){
logger.trace("start() called")
checkAndPublish()
cron.schedule('* * * * *', () => {
checkAndPublish()
logger.trace('one-minute cron call');