I’m making a website that tracks keyword positions in Google. It uses the custom search API, so it doesn’t violate Google’s TOS. Anyway, I need a script to run twice a week (I wrote it in php) that loops through all of the keywords being tracked, querying Google and then inserting the new positions in a MySQL database. From what I’ve read, it would be best to schedule this as a ‘cron job,’ as opposed to running the file from my browser, but I don’t know much about cron jobs and want to make sure that I’m doing this the right way.
Right now the script takes about 2 minutes to run (I’ve been testing on my localhost), but as more keywords are added it will take longer. Is what I’m wanting to do OK?