I'm using the Feeds Module to import Twitter Tweets as Nodes. As long as I start the import manually via www.yourdrupal.com/import everything works fine. But I want the Feed importer to start automatically every hour. Cron is activated, but nothing gets imported. I get an error on the statuspage "Token and secret MUST be string values."

My Feed import settings: enter image description here

Protokoll Log: enter image description here

Feeds Log: enter image description here

Debugging Info: "No channels ready to be executed, skipping cron."

  • May be it requires the api key and secret that you can get after creating a developer account at dev.twitter.com. – Ankit Agrawal Sep 25 '13 at 13:24
  • Well yes, but I inserted the API key etc under "http oAuth fetcher" and a manual import does import the tweets – scar Sep 25 '13 at 13:33
  • 1
    So do you get any errors when the cron runs? – Steven Sep 25 '13 at 13:42
  • can you try debugging the cron callback codes so to log the token and secret key. – arpitr Sep 25 '13 at 15:22
  • Can I do this via the Interface or do I have to add debugging code? – scar Sep 25 '13 at 16:00

I would recommend using this sandbox (Twitter Pull) for retrieving tweets instead. I've set it up before and it works quite well. You can see the relevant discussion below.

Errors occured while trying to retrieve tweets

| improve this answer | |

The error:

No channels ready to be executed, skipping cron

sounds like it's related to Elysia Cron module.

So please double check that you've followed the installation process (INSTALL.txt), especially this part:

To do this refer to the section "Configuring cron jobs" of drupal documentation: http://drupal.org/cron

The only difference is that you should use the * * * * * rule part instead of 0 * * * * or 45 * * * * as described in the guide.

While you're editing the system crontab, it's also recommended to replace the /cron.php part with /sites/modules/elysia_cron/cron.php (if you have installed elysia_cron in sites/modules directory). This is an optional step (you can leave /cron.php if you want), doing it will result in a better performance in bigger sites (elysia_cron's cron.php handles cache in a better way).

For example:

* * * * * wget -O- -q -t 1 http://example.com/sites/all/modules/elysia_cron/cron.php

You can also try to run cron from UI at /admin/config/system/cron.

If you're using drush, try drush elysia-cron run, instead of drush cron.

Check elysia_cron_run() for execution logic.

Also check related Drupal issues: #1748106, #1952624.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.