lilman Posted June 2, 2007 Share Posted June 2, 2007 I would like to set it up so certain scripts will run daily to update the database without it being done manually. So I would like to create a file that runs once a day to update information in my database. Thus I was wondering if anyone could lead me to how I can do this. If this is too vague and you need more information to answer my question, please ask for more info. Thank you Link to comment https://forums.phpfreaks.com/topic/54026-update-information-daily/ Share on other sites More sharing options...
pocobueno1388 Posted June 2, 2007 Share Posted June 2, 2007 You need a cron job. You can usually set them up in the control panel you host offers. It all just depends on if your host offers that feature or not. Link to comment https://forums.phpfreaks.com/topic/54026-update-information-daily/#findComment-267101 Share on other sites More sharing options...
lilman Posted June 2, 2007 Author Share Posted June 2, 2007 Okay, thank you. I just checked out my control panel and I do have cron job. Should I put the path to the file I want run for Command to run? Link to comment https://forums.phpfreaks.com/topic/54026-update-information-daily/#findComment-267125 Share on other sites More sharing options...
pocobueno1388 Posted June 2, 2007 Share Posted June 2, 2007 Yes, put the entire path to the file. You might have to put "php" in front of it. So it would look like this: php /folder/folder1/anotherfolder/yourfile.php Link to comment https://forums.phpfreaks.com/topic/54026-update-information-daily/#findComment-267127 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.