iclab/centinel

Make sure you don't run a scheduled task when the same task is still in progress from the last attempt

Closed this issue · 1 comments

If an task hasn't concluded from the last time it was run according to scheduler, don't run it again. This happens when a task takes longer than 1 hour (the current scheduler checking interval) to finish.

2016-06-09 11:17:33,620 baseline.py(line 57) INFO: Testing input file
world.csv...

2016-06-09 12:17:48,151 baseline.py(line 57) INFO: Testing input file
world.csv...

2016-06-09 13:17:41,852 baseline.py(line 57) INFO: Testing input file
world.csv...

2016-06-09 14:18:04,976 baseline.py(line 57) INFO: Testing input file
world.csv...

2016-06-09 15:17:55,350 baseline.py(line 57) INFO: Testing input file
world.csv...

I committed a fix that will prevent Centinel fro running over itself.