No announcement yet.

RSS Feed

  • Filter
  • Time
  • Show
Clear All
new posts

  • RSS Feed

    I set-up a subforum to accept data from an RSS Feed last night, and set its pickup time to every 4hrs, but I am unable to find any information or documentation on how the collecetion is started.

    All I can find on scheduled tasks is here :-

    Do I need to add a cron-job to my host to ensure this collection runs ? or is the schedule list of jobs run through when a user visits the forums and any that should have run - are then run ?

  • #2
    RSS Feeds are collected by a Scheduled Taks.
    This is added automatically during the upgrade, and is invoked by users browsing your forums.
    You don't need to set up a cron job.
    Best Regards
    Colin Frei

    Please don't contact me per PM.


    • #3
      Thank you, are there any other methods for calling this function ?

      I am querying an RSS feed which only contains the last 10 news items, this feed can move quite fast and within 24hrs an item may have flushed through the entire chain and no longer part of the feed.

      If my forums are not visited during this period - those entrys will be lost ?

      I guess this should be a support ticked when 3.6 goes live sorry.


      • #4
        You could set up a cron job to run scheduled tasks.
        You'd add a cron job which runs this command:
        cd /path/to/cron.php; php /path/to/cron.php
        Best Regards
        Colin Frei

        Please don't contact me per PM.


        • #5
          I vaguely recall something someone said (a long time ago) about two different PHP version that can be compiled, CGI and CLI

          When running the cron job, i get the following output :-
          # cd ~/public_html/forums; /usr/bin/php cron.php
          X-Powered-By: PHP/4.4.2
          Cache-Control: private
          Pragma: private
          Content-type: image/gif
          Content-Length: 43
          Connection: Close
          I get the impression this is wrong and calling the CGI version, but then im not really sure what kind of output to expect anyway.