[RESOLVED] Running script automatically with cron
I need to run a PHP process once a week with cron, in order to create the xml sitemap. The problem is that this process is masked with a route.
I mean that instead of having to do:
php -f /var/www/myweb/create_sitemap.php
wget http://www.myweb.com/create_sitemap.php -q
since I'm using CodeIgniter with routing, I need something like this
How can I automate this call?
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
I didn't know that feature of CodeIgniter. It's just what I need. Thanks a lot!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)