should run on startup
This commit is contained in:
parent
0e04a8ed04
commit
4dcc369fbf
|
@ -4,6 +4,7 @@ import checkAndPublish from './checkAndPublish.mjs';
|
||||||
|
|
||||||
export default function start(){
|
export default function start(){
|
||||||
logger.trace("start() called")
|
logger.trace("start() called")
|
||||||
|
checkAndPublish()
|
||||||
cron.schedule('* * * * *', () => {
|
cron.schedule('* * * * *', () => {
|
||||||
checkAndPublish()
|
checkAndPublish()
|
||||||
logger.trace('one-minute cron call');
|
logger.trace('one-minute cron call');
|
||||||
|
|
Loading…
Reference in New Issue