I know that RSS importer is not supporting more. But please tell me how can i set a cron job for it.
Thanks a lot


Hi, this is how you setup the Cronjob in brief. You can download the full document I have attached to see screenshots etc. Its all part of a system I call the Automagical System - with which you can add content from any website into your pligg site instantly and also create mass users and voting.
You need to finally setup a Cron Job which will call a file that will execute the Feed Importing into your site, with all the configurations you have defined for each feed and at the above defined intervals for each feed.
You will need to basically setup a Cron Job to access the file called import11.php (please change its name to some random name and number to hide it) and to run once every hour.
Setting up a Cron Job is not difficult and can easily be done from your CPanel. It is beyond the scope of this document on how this is done.
In order to have your Cron Job access this import11.php (or appropriately hidden and renamed file) – you will need to know the path to this file on your server.
For this, you can simply access the previously uploaded a file (from a previous step above) in the root called /cronpath.php . Simply access this file from your browser by typing www.yoursitename.com/cronpath.php - and it will show you something like this in your browser display - /home/someuserid/public_html/cronpath.php .
From this you will learn that your root path location is something like this - /home/someuserid/public_html/
This means that the file you want the Cron Job to access is – /home/someuserid/public_html/import11.php
Next: Defining Your Cron Job command:
From the above data we have now retried your machine path that can be inserted and used appropriately for your Cron Job command, in either of the 2 ways…
Method (A) - If you want to receive an email every time the Cron runs use this -
php -q /home/someuserid/public_html/import11.php
simply replace the path with the path you got from above, followed by the text -
/import11.php
Method (B) - If you DO NOT want to receive and email everytime the Cron runs use this –
php -q /home/someuserid/public_html/import11.php > /dev/null 2>&
simply replace the path with the path you got from above, followed by the text -
/import11.php
Finally, access your CPanel Cron Area and insert, either of the above commands into the Corn area to run ONCE every hour.
PLEASE INSERT AND REPLACE YOUR CUSTOM PATH FROM ABOVE CRONPATH DATA ACCORDINGLY INTO THIS COMMAND. DO NOT USE THIS SAMPLE COMMAND.
You should use the Cron Command method (A) first, so you get an email each time it runs every hour – so you can monitor it for a few days. It is best to leave it as it is once it is all setup, but you can switch to method (B) if you like at anytime.
Let me know if you have any questions!
cheers
Vishy
Thanks a lot for your perfect guide but both methods don't work and still this module doesn't work. I copied import.php to the root of my server and as you said changed it to import1.php and made cronjob for it as you said.( I made correct cronjobs for them as i have made it before for many scripts). I tried both methods and they don't work. Please help me more.
Thanks a lot. It works fine now. You are great.
I just set it to 5 min. The first time it worked fine. But at the second time, i received this email from cronjob, Feed Frequency is 1.<br>Next run in 0.9 hours. How can i set Feed Frequency to 5 min?
As you now, in default mode it can not be less than 1 hour. How can i change it to 5 min ?
I did it it and ti works fine. But the problem is something else.
In the module, the lowest defined time for importing feeds ( feed frequency ) is 1 hour.
And if i set cron job to less than 1 hour, it doesn't work and it tells that you should wait 1 hour.
Now i want to know which parts of module should be changed that feed can be updated automatically in less than 1 hour. For example every 5 min.