Skip to content

Commit

Permalink
Move rake task to scheduler for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevallano committed May 31, 2020
1 parent af8f01d commit 65c90da
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,4 +1,4 @@
# To run the rake task: rake "tmdb_data:refresh"
# To run the rake task: rake tmdb_data:refresh
# To run from console: Rake::Task["tmdb_data:refresh"].invoke

TIME_FRAME = (ENV['tmdb_refresh_time_frame_days'] || 7).to_i.days.ago
Expand Down

0 comments on commit 65c90da

Please sign in to comment.