@ -302,6 +302,10 @@ def main
trains: failed_trains,
}))
File.write('./last_executed_run.txt', $datestr)
if visited_stations.count == 0 and visited_trains.count == 0
exit 1
end
if __FILE__ == $0