Skip to content

Commit

Permalink
Comment out the code for checking Tuesday execution
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel-k committed Dec 2, 2024
1 parent 78e62a1 commit c567bae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/tasks/la_vague.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ namespace :la_vague do
task :book do
Dotenv.load

current_time = Time.now
# current_time = Time.now

unless current_time.wday == 2
puts "The script only runs on Tuesday. Exiting."
exit
end
# unless current_time.wday == 2
# puts "The script only runs on Tuesday. Exiting."
# exit
# end

# Calculate the target booking date (next week)
def calculate_booking_date
Expand Down

0 comments on commit c567bae

Please sign in to comment.