Okay this is what im doing. Im having a script check news articles and everytime the script is ran, it adds them to news.txt. I have the script cron every other hour. But it grabs so many news ids that I dont want that many added, I only want 10 out of the list.