Welcome Guest, Not a member yet? Register   Sign In
Running tasks on schedule
#1

[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?
#2

[eluser]InsiteFX[/eluser]
Corn Jobs

Opps!

Cron Jobs

Well they are kind of Corny LOL
#3

[eluser]Andrewkha[/eluser]
As I see it's a general scheduling tool for the Unix environment. Any specifics for tying CI to it?
#4

[eluser]InsiteFX[/eluser]
Do a search in the forums here, lots of users have posted code for doing it.
#5

[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).
#6

[eluser]CroNiX[/eluser]
[quote author="InsiteFX" date="1411559730"]Corn Jobs
[/quote]
Heh, corn jobs... Smile




Theme © iAndrew 2016 - Forum software by © MyBB