Skip to content
Snippets Groups Projects
Commit c0c730e3 authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

fix job runner log

parent c111c7a8
No related branches found
No related tags found
1 merge request!389Dev
...@@ -72,7 +72,7 @@ const checkJobStatus = async (name, logic, ftp) => { ...@@ -72,7 +72,7 @@ const checkJobStatus = async (name, logic, ftp) => {
const interval = await parseExpression(frequency, testRange) const interval = await parseExpression(frequency, testRange)
try { try {
await interval.next() await interval.next()
if (old) logger.info('Resetting long running job status.') if (running && old) logger.info('Resetting long running job status.')
logger.info(`${name} scheduled. Running:`) logger.info(`${name} scheduled. Running:`)
} catch (ignore) { } catch (ignore) {
const exitMessage = `${name} not yet scheduled to run. Exiting.` const exitMessage = `${name} not yet scheduled to run. Exiting.`
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment