Before you read this, understand that I am completely new to the idea of a cron so this is difficult for me. I bundle installed the gem whenever. then i ran
wheneverize .
no errors. the schedule.rb was created. I have a file called scheduled_scrape.rb when i run
ruby script/scheduled_scrape.rb
it works perfectly fine. I put in my schedule.rb these lines
every 1.minutes do
command "ruby script/scheduled_scrape.rb" #later on it'll be half an hour,
#i just need to test here
end
this does nothing. I dug around, and found that perhaps this should be called in terminal (i guess to activate it?)
whenever --update-crontab store
now, this is still doing nothing. What do i need to do to regularly call my scheduled_scrape.rb