I got this question from a reader and thought it would be useful to post for everyone:
Hi Jonathon,
I really like some of your solutions to making things simpler when using CodeIgniter. On the subject, I was wondering if you had a preference for a simple way to include headers and footers in your views. [...]
Here’s an excellent overview of cron, how to run a script every five minutes, and all that fun stuff.
There is a super-easy way to start a program during system boot. Just put this in your crontab:
@reboot /path/to/my/program
The command will be executed on every (re)boot. Crontab can be modified by running:
sudo crontab -e
From a presentation from Percona. This should be on every developer’s wall:
If it worked 10, 20, 30 years ago, it is worth considering.
If a crisis makes you come alive, you have your priorities wrong.
If you are working on urgent system problems, it’s not a boring architecture.
You should be working on exciting new things that serve [...]