Cron job using "whenever" ruby gem is not working -
on local generating sitemaps of sitemap_generator
gem. have set , when run rake sitemap:generate
generating sitemap. trying schedule process using whenever
gem. schedule.rb follows:
schedule.rb
every 1.minutes rake "sitemap:refresh" end
i keep rails server running nothing seems happen after 1 minute. might missing here. before push on production server wanted check it. can please tell me issue here?
can please run crontab -l
, check if cronjob scheduled.
Comments
Post a Comment