[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
or
wget http://www.myweb.com/create_sitemap.php -q
since I'm using CodeIgniter with routing, I need something like this
http://www.myweb.com/sitemap/create
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
eBookworm.us
I didn't know that feature of CodeIgniter. It's just what I need. Thanks a lot!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks