I've got the following configuration. I've installed whenever gem, created shedule.rb:
# Learn more: http://github.com/javan/whenever
every 6.hours do
runner "Part.check_status_update"
end
In part.rb model I have corresponding method.
A. How can I check if whenever
runs? As I understand it should only modify the crontab after whenever
command in the bash, yes?
B. If the method is not triggered - then how can I debug the scheduled jobs? If I put into my method puts
statements - where shall they be stored or outputted?