Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8114153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:03:57+00:00 2026-06-06T03:03:57+00:00

I have created the cron job with whenever (https://github.com/javan/whenever): every 1.hours do rake scrape

  • 0

I have created the cron job with whenever (https://github.com/javan/whenever):

every 1.hours do
   rake "scrape" 
end

The rake scrape task runs fine when I run it manually, but when cron runs I get:

rake aborted!
Could not find table 'beskeds'

The command run is:

/bin/bash -l -c 'cd /Users/klaus/Documents/src/Ruby/rails/fintra && RAILS_ENV=production bundle exec rake scrape --silent'

I am using RVM by the way

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T03:03:58+00:00Added an answer on June 6, 2026 at 3:03 am

    OK I got it now.
    It turns out I am only running this site on my own computer and have no production environment and hence no production database…

    The whenever configuration should be:

    every 1.hours do
       rake "scrape", environment => "development"
    end
    

    I also had to run whenever with the environment:

    whenever -w --set environment=development
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a cron job for my website which runs every 2hours and
I have set up a cron job, using the great whenever gem. every 1.minute
I have created following command line to run cron job after every 2minutes 2
I have a cron job scrape.sh that look like this: #!/bin/bash touch rage cd
I have these two github repos, on both of which I'm an admin: https://github.com/ripper234/osqa
I have a cron job that runs every hour. It accesses an xml feed.
I have created a Job Queue module that processes jobs and constructs social-network type
I have created a system that will be calculating data every month based on
I have one php script, and I am executing this script via cron every
I have this cron job to empty a temp folder I have once a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.