Okay, I was wondering if there was a way to setup cron jobs on any server with a php script so a php script would get excecuted at certain times automaticaly but not dependant on how php is installed. Could someone help me with this?
Not sure if this is what your looking for but you can try a service like www.cronservice.co.uk for free to see if it suits your needs. - shameless plug but a great service Lux
Thank you both for your help, but I need a solution for a script I'm making for someone else and I don't know how he'd like to use a service like that. I will keep a lookout, I believe I may have an alternative way of running it though I will have to see if it's alright.
1) As stated cron is not dependent on PHP so it doesn't matter how PHP is configured. 2) Log into your cpanel account and click on the cron setup link. It's pretty easy.
Yes, I know, but I was wondering how to make a php script do this on its own. I know that cron jobs are not dependant on php, it's the working with it via php than I want to know.
you can't the nature of PHP (or any server-side script) is that it's executed when called by the server (when a visitor requests it). There's no way to change that
I mean an alternative to having it run the script every so often. lol Just so the fields have an expiration time set to it and if it's passed that field doesn't get picked up, that's all.