PDA

View Full Version : Alternative to Using Cron for NewsTopica


David
04-19-2006, 06:14 PM
This can actually be easier than setting up a cron. :)
On Windows XP, go to
1. All Programs >> Accessories >> System Tools >> Scheduled Tasks.
2. Click on New Scheduled Task
3. Locate Firefox, Opera or Internet Explorer from the list of programs
4. Set the task to run daily, and click next.
5. Enter password or leave blank and click next
6. Check Open Advanced Properties and click Finished
7. Under the Task tab under Run it should look something like this: Content visible to registered users only.

That's about it. Good Luck!

camchoice
04-19-2006, 10:11 PM
I want to add something to this cron topic

If you are using plesk server administration software then you can exetcute the cronfile like this :

GET yourpathto/admin/dir_importrss.php?r=1

This works for me :wink:

It took me 2 days to find this out, and I dont want the other users of this excellent script to go to all the trouble i have seen :shock:

mikedippel
04-20-2006, 05:10 PM
An easier alternative is to add this code somewhere on your news home page

What this does is to activate the script in the background every time someone brings up that page. Be sure to replace yourdomain.com with the correct one.

anon
04-20-2006, 06:10 PM
Depending on where you are grabbing your news from, that is totally INSANE, and is only begging for a ban. Not just from the news source, but from your hosting as well(unless you are running your own servers)

I would NOT recommend doing this, unless your site is low-traffic.

David
04-20-2006, 06:50 PM
Mike Dippel's method is what is known as a Psuedo Cron. Alternately you can create methods that decrease how often this occurs, so as not to overload the server.