Compare commits
2 commits
43c61c0247
...
3d6a5f6249
Author | SHA1 | Date | |
---|---|---|---|
3d6a5f6249 | |||
4bbc1c9891 |
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue