- SliceHost 1gb RAM Xen VPS x86_64
- CentOS 5.2
- MySQL 5.0.45
- PHP 5.1.6 (cli)
- Apache 2.2.3
- OpenX 2.6.3
Unless you love
vi, set your environment’s EDITOR first. For me, this is the most important part of the process. I hear the cool kids use nano these days. I work at MIT so I feel like I have to use Emacs.
edit ~/.bash_profile and add these lines
Then edit your crontab file and add a line like this to it:
30 10 * * * /usr/bin/php /var/www/i.mitsmr.com/openx/scripts/maintenance/maintenance.php i.mitsmr.com
That will run the maintenance script once per day at 10:30pm. Check your crontab log for any errors:
sudo tail /var/log/crontab
Oh, and OpenX pushed 2.6.4 update out yesterday. Take one thing off the todo-list, add something new right back on! Sheesh.