Skip to content

Commit

Permalink
Store lov_last_processed_date.txt at /vat/tmp and use a full path
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedBkf committed Nov 7, 2024
1 parent dc9256f commit 54a3862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lov_migrator
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module LOVMigrator
attr_accessor :last_processed_date
def initialize(endpoint = LOV_ENDPOINT)
@lov_endpoint = endpoint
@last_processed_date_file = ".last_processed_date.txt"
@last_processed_date_file = "/var/tmp/.lov_last_processed_date.txt"
@last_processed_date = File.exist?(@last_processed_date_file) ? Date.parse(File.read(@last_processed_date_file).strip) : nil
end

Expand Down

0 comments on commit 54a3862

Please sign in to comment.