Running tasks on schedule |
[eluser]Andrewkha[/eluser]
Hello! I want to send email notification to the users regularly. That means that some script should be running automatically on a regular basis. How to achieve this in CI?
[eluser]InsiteFX[/eluser]
Corn Jobs Opps! Cron Jobs Well they are kind of Corny LOL
[eluser]Andrewkha[/eluser]
As I see it's a general scheduling tool for the Unix environment. Any specifics for tying CI to it?
[eluser]InsiteFX[/eluser]
Do a search in the forums here, lots of users have posted code for doing it.
[eluser]CroNiX[/eluser]
It's the same as executing CI via the CLI, which is in the manual. https://ellislab.com/codeigniter/user-gu...l/cli.html That's how you'd create the entry in crontab (or task scheduler in windows).
[eluser]CroNiX[/eluser]
[quote author="InsiteFX" date="1411559730"]Corn Jobs [/quote] Heh, corn jobs... ![]() |
Welcome Guest, Not a member yet? Register Sign In |