Compare commits

...

2 commits

Author SHA1 Message Date
3d6a5f6249
Add last attempted run file 2023-02-06 06:15:27 +01:00
4bbc1c9891
Add last executed run file 2023-02-06 06:14:55 +01:00

View file

@ -141,6 +141,7 @@ class Log
end
def main
File.write('./last_attempted_run.txt', $datestr)
log = Log.new
log.add "Creating archive for yesterday, #{$datestr}"
@ -300,6 +301,7 @@ def main
stations: failed_stations,
trains: failed_trains,
}))
File.write('./last_executed_run.txt', $datestr)
end
if __FILE__ == $0