Running CodeIgniter cron on localhost
Posted
by stef
on Stack Overflow
See other posts from Stack Overflow
or by stef
Published on 2010-06-01T10:43:22Z
Indexed on
2010/06/01
12:03 UTC
Read the original article
Hit count: 171
I'm trying to get a cron job to run every 5 min on my localhost. Using the Cronnix app I entered the following command
0,5 * * * * root curl http://localhost:8888/site/ > /dev/null
The script runs fine when I visit http://localhost:8888/site/ in my browser. I've read some stuff about getting CI to run on Cron, using wget and various other options but none make a lot of sense.
In another SO post I found the following command
wget -O - -q -t 1 http://www.example.com/cron/run
What is the "-O - -q -t 1" syntax exactly?
Are there other options?
© Stack Overflow or respective owner